Is it possible to set the permissions of an NFS share to allow creation and moving of files, but not the editing or deletion of them.
Moving is also only allowed if it stays on the same share.
Achieving this with wrapper applications would be fine, as long as I can execute them with my client, that uses nautilus.
Allowed operations:
mv /mnt/share/file /mnt/share/file2mv /mnt/share/file /mnt/share/folder/filetouch /mnt/share/file3
Disallowed operations:
mv /mnt/share/file ~rm /mnt/share/fileecho test > /mnt/share/fileecho test >> /mnt/share/file
BOTH LISTS ARE NOT EXHAUSTIVE
The server is my NAS running stock Archlinux (pretty current, updates every few days).
Hosts are mostly my own computers, but I don't trust every program I run. And to prevent crypto malware, I want to disable the deletion of files, so such a malware can only create the encrypted files, but can't delete the original ones.