Unix file permission for groups
Posted
by
GOPI
on Super User
See other posts from Super User
or by GOPI
Published on 2010-11-10T18:45:15Z
Indexed on
2011/01/05
20:55 UTC
Read the original article
Hit count: 216
unix
|file-permissions
I am working on HP Unix server. I have a directory in which users from different groups need to create files. And the users of a same group should have complete access to the files created by their group and only read access for the files created by other groups.
I tried to set sticky bit for the directory thereby to restrict access for other groups. But I face the following problem.
Created File1 from user1 of GroupA. When I tried to execute the 'rm' command from user2 of the same group GroupA, it doesn't allow as user2 is not the owner of the file.
can setgid (at directory level) or other command help me to sort this issue?
© Super User or respective owner