I'm trying to create a collaborative directory in linux, the /nfsdata
directory was created, the nfsgrp group was created, the users user1
and user2
belonging to group nfsgrp
were created.
chmod 2770 /nfsdata
drwxrws---. 2 nfsnobody nfsgrp 19 Sep 2 08:42 /nfsdata/
When users user1
and user2
create files the group that owns these files is nfsgrp
but the permission of the group is read only, it is assumed that the permission must also be inherited from the group so that other users belonging to the group they can edit it but I do not know why it is only read:
[user1@server1 nfsdata]$ ls -l
total 0
-rw-r--r--. 1 user1 nfsgrp 0 Sep 2 08:53 aaa
-rw-r--r--. 1 user1 nfsgrp 0 Sep 2 08:42 user1
-rw-r--r--. 1 user2 nfsgrp 0 Sep 2 08:50 user2
[user1@server1 nfsdata]$
Greetings