I’ve just recently setup a ZFS Samba share on Ubuntu.
I have some filesystems/folders created with ZFS that I wish to enforce.
Take for example the following directory structure:
/mount/archive/entertainment/movies
My goal is to allow my group of choice to add directories and files to the movies folder, but prevent deletion of movies itself, and all parent directories - to prevent accidentally deleting all of my precious movies all at once.
I believe I’ve already achieved this goal, but I noticed a strange behaviour.
The permissions work as intended within Ubuntu, and I am unable to see the move to trash option on the right-click menu of the movies folder.
In Windows however, I am able to delete the movies folder, only to have it return a few seconds later with all contents wiped clean.
Could someone please confirm this?