sub directory permissions
Hello LQ community!
I have been working with Linux for about a year now, and have ran into a problem that i cant find an answer for. I have 2 different groups, groupA and groupB there's a folder /home/folder1/folder2/folder3 groupA owns all the folders and has full permissions. But groupB needs to be able to read the files in folder3. Also management has said that we are not able to use ACL's Any help would be appreciated! Cheers. |
Sounds a bit like homework but anyway ...
Code:
chmod o+rx /home/folder1 |
That would allow anyone to read the folder.
I need to allow only groupB (as in users from the group groupB) to read the folder. Besides the users from groupA to be able to read and write. Thanks for the help though kbp |
Without using acl's, you only have a couple of options:
Code:
- make all the users in groupB also members of groupA - this may give more permissions than intended |
What kbp said; basically only one grp can have have the grp ownership and grp perms.
|
All times are GMT -5. The time now is 07:42 AM. |