--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: discus: dies reading partition in unaccessable directory
- From: Wolfgang Weisselberg <g35fckt001@sneakemail.com>
- Date: Fri, 30 Jul 2004 13:41:38 +0200
- Message-id: <20040730114138.GA6241@weissel.dyndns.org>
Package: discus
Version: 0.2.9-1
Severity: normal
I happen to mount some partitions under a directory not
accessible by my normal user. discuss dies instantly trying
to read them.
$ ls -ld /BACKUP/WORK/
drwx------ 7 workbackup workbackup 1024 2004-05-27 13:57 /BACKUP/WORK/
[workbackup is, of course, not a normal user]
$ discus
[...]
Traceback (most recent call last):
File "/usr/bin/discus", line 479, in ?
main()
File "/usr/bin/discus", line 451, in main
disk = Disk(devices[count], mounts[count])
File "/usr/bin/discus", line 55, in __init__
self.getstats(mount)
File "/usr/bin/discus", line 209, in getstats
stats = os.statvfs(mount)
OSError: [Errno 13] Permission denied: '/BACKUP/WORK/home'
$ strace -e trace=file discus
[...]
statfs("/BACKUP/WORK/home", 0xbfffeaa8) = -1 EACCES (Permission denied)
Traceback (most recent call last):
[... as above ...]
This, of course, stops discus from showing any partitions after
it, rendering the package quite unusable in these circumstances ...
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (990, 'unstable'), (101, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-lvm
Locale: LANG=de_DE@euro.ISO8859-15, LC_CTYPE=de_DE@euro
Versions of packages discus depends on:
ii python 2.3.4-1 An interactive high-level object-o
-- no debconf information
--- End Message ---