<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>20405</bug_id>
          
          <creation_ts>2003-05-03 19:10 0000</creation_ts>
          <short_desc>tmp-directory is not set at configuration --&gt; Permission denied when calling ctags</short_desc>
          <delta_ts>2003-05-26 12:28:15 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gentoo-bug@abc.delta64.com</reporter>
          <assigned_to>agriffis@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>gentoo-bug@abc.delta64.com</who>
            <bug_when>2003-05-03 19:10:08 0000</bug_when>
            <thetext>noticed this, when using tagexplorer.vim -plugin for vim.  Always got permission
denied.  Used strace and got the following:

open(&quot;/var/tmp/portage/ctags-5.5/temp/tags.UuTPeQ&quot;, O_RDWR|O_CREAT|O_EXCL, 0600)
= -1 EACCES (Permission denied)
write(2, &quot;exuberant-ctags: &quot;, 17exuberant-ctags: )       = 17
write(2, &quot;cannot open temporary file&quot;, 26cannot open temporary file) = 26
write(2, &quot; : Permission denied&quot;, 20 : Permission denied)    = 20
write(2, &quot;\n&quot;, 1
)                       = 1
_exit(1)            

Reproducible: Always
Steps to Reproduce:
1./usr/bin/exuberant-ctags -f - --format=2 --excmd=pattern --fields=nKs 
--sort=no  &quot;env.scm&quot;
2.
3.




easy to fix, just add to the econf line in the ebuild:
--enable-tmpdir=/tmp
--&gt;

econf --enable-tmpdir=/tmp --with-posix-regex --without-readlib --disable-etags
|| die</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agriffis@gentoo.org</who>
            <bug_when>2003-05-26 12:28:15 0000</bug_when>
            <thetext>fixed in ctags-5.5-r1, thanks</thetext>
          </long_desc>
      
    </bug>

</bugzilla>