[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: |
Tim Bishop |
Subject: |
Re: ls and chmod broken on Solaris 9 - ACL problem? |
Date: |
Wed, 16 Mar 2005 08:15:14 +0000 |
On Tue, 2005-03-15 at 14:54 -0800, Paul Eggert wrote:
> 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.
> $ ./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
Here's the result on my system:
% coreutils/bin/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
% coreutils/bin/ls -ld acltest
drwxr-xr-x 2 tdb cur 512 Mar 16 08:10 acltest
% /bin/ls -ld acltest
drwxr-xr-x 2 tdb cur 512 Mar 16 08:10 acltest
% setfacl -s u::rwx,g::---,o:---,g:bin:r-x,m:rwx acltest
% coreutils/bin/ls -ld acltest
drwxrwx---+ 2 tdb cur 512 Mar 16 08:10 acltest
% /bin/ls -ld acltest
drwx------+ 2 tdb cur 512 Mar 16 08:10 acltest
That's rather strange. I wonder would could make it different on my
system compared to yours?
Cheers,
Tim.
--
Tim Bishop,
Computer Science Computing Officer.
PGP Key: 0x5AE7D984
signature.asc
Description: This is a digitally signed message part