LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Group as owner instead of a user (http://www.linuxquestions.org/questions/linux-general-1/group-as-owner-instead-of-a-user-91569/)

dtournas 09-11-2003 06:06 AM

Group as owner instead of a user
 
Is it possible to set a group as the owner of a file/directory? I now get this:


[root@fileserver directory]#ls -la
total 3
drwxr-xr-w 5 user groupB 4096 May 25 12:09 .
drwxr-xr-w 20 user groupB 4096 May 24 11:16 ..
drwxr-x--- 2 user groupB 4096 May 24 11:16 directory
[root@fileserver directory]#


but what I really want is this:

[root@fileserver directory]#ls -la
total 3
drwxr-xr-w 5 groupA groupB 4096 May 25 12:09 .
drwxr-xr-w 20 groupA groupB 4096 May 24 11:16 ..
drwxr-x--- 2 groupA groupB 4096 May 24 11:16 directory
[root@fileserver directory]#


This is because I want to give rwx rights to GroupA and r-x to GroupB.

Can you help me out?

trickykid 09-11-2003 11:13 AM

Its not setup that way. If your wanting to assign multiple groups though, check into using ACL.


All times are GMT -5. The time now is 04:40 AM.