MaD dUCK on Thu, 1 Feb 2001 23:53:00 -0500 (EST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] weird permission settings


hey all,
will you do the following and then please explain to me why this is
so?

identify an account on a system which is a member of a certain group.
let's say the account is patrick and the group is unshaven. now do the
following...

%> su
#> cd /tmp
#> mkdir testdir
#> chown root:unshaven testdir
#> chmod 0705 testdir
#> exit
%> cd /tmp
%> id
uid=101(patrick) gid=100(users) groups=500(unshaven)
%> ls -ld testdir
drwx---r-x    2 root     unshaven      4096 Feb  1 20:53 testdir
%> cd testdir
cd: permission denied: testdir

any ideas???
testdir should be world readable, but if group has --- permissions,
then even though it's world readable, any member of a group can't
chdir or ls into the/that directory...

martin

[greetings from the heart of the sun]# echo madduck@!#:1:s@\@@@.net
-- 
"it is the mark of an educated mind
 to be able to entertain a thought
 without accepting it."
                                                        -- aristoteles


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug