Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20405 - tmp-directory is not set at configuration --> Permission denied when calling ctags
Summary: tmp-directory is not set at configuration --> Permission denied when calling ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-03 19:10 UTC by Christian Loitsch
Modified: 2003-05-26 12:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Loitsch 2003-05-03 19:10:08 UTC
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 Aron Griffis (RETIRED) gentoo-dev 2003-05-26 12:28:15 UTC
fixed in ctags-5.5-r1, thanks