Unix file permission for groups
- by GOPI
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?