Users unable to create files/directories on NFSv3 mount, but can modify
Solution 1:
Deleting a file requires write privileges on the directory.
You have correctly set rw
in the mount options, but something seems to be wrong on the NFS side (since you can delete files by logging in the server).
Some things I would do:
-
Check the default umask.
-
Check permissions on the files using
lsattr
andgetfacl
. -
Ensure no one else is accessing that file while you're trying to delete it (
lsof
). -
If SELinux is in enforcing mode, check the audit logs (preferably using
audit2why
). -
Try adding the sync mount option.
As a last resort workaround, delete and create again users and groups on the server and restart the NFS server.