I mounted a folder under /media/datasets, owner and group group are specified as root:
$ ll /media/ drwxrwxrwx 31 root root 4,0K Apr 19 19:55 datasets
Now I want to set the sticky bit to that directory to prevent the users from deleting each others folders, so the rights should look like this:
However when I do
sudo chmod o+t /media/datasets
chmod: changing permissions of ‘/media/datasets’: Operation not permitted
I can execute the command above on folders inside
/media/datasets but not on
/media/datasets itself. I'm not sure why. Anyone an idea how to fix this?
Not sure if this is important but the
datasets folder is located on a synology fileserver (NAS) and is mounted on multiple machines simultaneously.