Basic Permissions Questions

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



Hi List :)

So, I have a folder1, its owner is user1 who has r+w on the folder.
User2 is the group owner who only has read access (when I say user2, I
mean the group called user2, because when you make a new user the OS
can make them their own group). You can see these permissions below:

[user2@host test]$ ls -l
drw-r-----  3 user1    user2   28 Nov  2 16:17 folder1

How ever user2 can not 'cd' into this directory, and gets the
following out put form 'ls -l folder1'

[user2@host test]$ ls -l folder1/
total 0
?--------- ? ? ? ?            ? sub-folder

And the sub-folder name is written in white text flashing on a red
background. So, it seems to me that there is some permissions problems
here. What permissions are required on the group settings to allow a
group user to browser folder1 and its sub folders and read the files
in side if it isn't 'r' ?

**Note: I have used sudo to replicate permissions through the directy structure:

[user2@host test]$ sudo ls -l folder1/
drw-r----- 2 user1 user2 4096 Jan 24 06:49 sub-folder

-- 
Regards,
James.

http://www.jamesbensley.co.cc/

There are 10 kinds of people in the world; Those who understand
Vigesimal, and J others...?
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux