Re: Basic Permissions Questions

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



Hi :)

On Wed, Jan 26, 2011 at 11:12 AM, James Bensley <jwbensley@xxxxxxxxx> wrote:
> 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


Directories should have +x permissions. Do a:

chmod    0750    /directory

And see what happens.

HTH

   Rafa
_______________________________________________
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