[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ls and chmod broken on Solaris 9 - ACL problem?
From: |
Paul Eggert |
Subject: |
Re: ls and chmod broken on Solaris 9 - ACL problem? |
Date: |
Tue, 15 Mar 2005 14:54:44 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) |
Tim Bishop <address@hidden> writes:
> We've discovered a bug in the ACL handling on Solaris 9. It noticably
> breaks ls and chmod.
Thanks for reporting it. I can't reproduce the bug with Solaris 9 if
I used coreutils test version 5.3.0
<ftp://alpha.gnu.org/gnu/coreutils/coreutils-5.3.0.tar.gz>,
so I'd guess the bug has been fixed. Can you please give 5.3.0 a try?
Here's how I tried to reproduce the problem:
$ ./ls --version
ls (GNU coreutils) 5.3.0
Written by Richard Stallman and David MacKenzie.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ mkdir acltest
$ ./ls acltest
$ ./ls -l acltest
total 0
$ ./ls -l acltest
total 0
$ ./ls -ld acltest
drwxrwsr-x 2 eggert eggert 512 2005-03-15 14:49 acltest
$ /bin/ls -ld acltest
drwxrwsr-x 2 eggert eggert 512 Mar 15 14:49 acltest
$ setfacl -s u::rwx,g::---,o:---,g:bin:r-x,m:rwx acltest
$ ./ls -ld acltest
drwx--S---+ 2 eggert eggert 512 2005-03-15 14:49 acltest
$ /bin/ls -ld acltest
drwx--S---+ 2 eggert eggert 512 Mar 15 14:49 acltest
$ getfacl acltest
# file: acltest
# owner: eggert
# group: eggert
user::rwx
group::--- #effective:---
group:bin:r-x #effective:r-x
mask:rwx
other:---
$ ./chmod g+rwx acltest
$ ./ls -ld acltest
drwxrws---+ 2 eggert eggert 512 2005-03-15 14:49 acltest
$ /bin/ls -ld acltest
drwxrws---+ 2 eggert eggert 512 Mar 15 14:49 acltest
$ getfacl acltest
# file: acltest
# owner: eggert
# group: eggert
user::rwx
group::rwx #effective:rwx
group:bin:r-x #effective:r-x
mask:rwx
other:---