Package: dash
Version: 0.5.5.1-3
Severity: normal

dash's -w and -r tests are not ACL-aware. dash thinks that a file is
not readable/writeable even though it is:

$ whoami
madduck
$ sudo touch foo
$ sudo chmod 660 foo
$ sudo setfacl -m madduck:rw foo
$ ls -l foo                                                         #10006
-rw-rw----+ 1 root root 0 2009-11-16 15:11 foo
$ dash                                                              #10007
$ [ ! -r foo ] && echo NOT readable
NOT readable
$ [ ! -w foo ] && echo NOT writeable
NOT writeable
$ echo foo >> foo
$ ls -l foo
-rw-rw----+ 1 root root 4 2009-11-16 15:12 foo
$ cat foo
foo

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dash depends on:
ii  debianutils                   3.2.1      Miscellaneous utilities specific t
ii  dpkg                          1.15.4.1   Debian package management system
ii  libc6                         2.10.1-6   GNU C Library: Shared libraries

dash recommends no packages.

dash suggests no packages.

-- debconf information:
* dash/sh: true


-- 
 .''`.   martin f. krafft <[email protected]>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to