Hi,

I observed the following behavior concerning the readability of directory 
content that I don't understand. This occurred on both Solaris releases with 
UFS filesystems.

[EMAIL PROTECTED]:/var/a$ uname -a
SunOS azalin 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Blade-2500
[EMAIL PROTECTED]:/var/a$ id
uid=1000(thomas) gid=1000(thomas)
[EMAIL PROTECTED]:/var/a$ ls -ld chris
drwx------    2 chris    chris         512 Jan  4 21:04 chris/
[EMAIL PROTECTED]:/var/a$ ls -l chris
ls: chris/a: Permission denied
total 0

[EMAIL PROTECTED]:/var/tmp$ uname -a
SunOS grima 5.8 Generic_117350-43 sun4u sparc SUNW,Ultra-60
[EMAIL PROTECTED]:/var/tmp$ id
uid=1000(thomas) gid=1000(thomas)
[EMAIL PROTECTED]:/var/tmp$ ls -ld chris
drwx------    2 chris    chris         512 Jan  4 20:51 chris/
[EMAIL PROTECTED]:/var/tmp$ ls -l chris
ls: chris: Permission denied

As you can see, ls lists the name of files within the directory which is 
neither readable nor executable by the user calling ls...

Can anybody explain this change in behavior?

TIA,
Tom
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to