Package: ccache
Version: 2.3-1.1
Severity: normal
$ sudo mkdir /tmp/ccc
$ touch /tmp/ccc/zot
touch: cannot touch `/tmp/ccc/zot': Permission denied
$ CCACHE_DIR=/tmp/ccc ccache -s
cache hit 0
cache miss 0
files in cache 0
cache size 0 Kbytes
max cache size 976.6 Mbytes
$ CCACHE_DIR=/tmp/ccc ccache -M 10G
Set cache size limit to 10485760k
$ CCACHE_DIR=/tmp/ccc ccache -s
cache hit 0
cache miss 0
files in cache 0
cache size 0 Kbytes
max cache size 976.6 Mbytes
$
strace shows a bunch of:
stat64("/tmp/ccc/f", 0xbfbc6dac) = -1 ENOENT (No such file or directory)
mkdir("/tmp/ccc/f", 0777) = -1 EACCES (Permission denied)
open("/tmp/ccc/f/stats", O_RDWR) = -1 ENOENT (No such file or directory)
open("/tmp/ccc/f/stats", O_RDWR|O_CREAT|O_EXCL, 0666) = -1 ENOENT (No such file
or directory)
Running it with the right permissions *does* work. (Not a new bug,
the version in woody does the same thing.)
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.13.2toughbook
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages ccache depends on:
ii libc6 2.3.5-6 GNU C Library: Shared libraries an
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]