Collaborative Directory

0

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

    
asked by Juan 02.09.2018 в 15:23
source

1 answer

0

I was doing something wrong during the user creation procedure, the users were created with the collaborative group as the primary group (nfsgrp), a third user was created with the nfsgrp group as a secondary group and now I see the expected result .

Greetings

    
answered by 02.09.2018 в 15:36