Bug 20405 - tmp-directory is not set at configuration --> Permission denied when calling ctags
Bug#: 20405 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: agriffis@gentoo.org Reported By: gentoo-bug@abc.delta64.com
Component: Ebuilds
URL: 
Summary: tmp-directory is not set at configuration --> Permission denied when calling ctags
Keywords:  
Status Whiteboard: 
Opened: 2003-05-03 19:10 0000
Description:   Opened: 2003-05-03 19:10 0000
noticed this, when using tagexplorer.vim -plugin for vim.  Always got
permission
denied.  Used strace and got the following:

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

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




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

econf --enable-tmpdir=/tmp --with-posix-regex --without-readlib --disable-etags
|| die

------- Comment #1 From Aron Griffis (RETIRED) 2003-05-26 12:28:15 0000 -------
fixed in ctags-5.5-r1, thanks