Hello,
I have moved over from a FreeNas Server to Unraid recently and have felt like I cannot do a few things I know I can/should be able to set up. I have my main share called Main-Share inside this share I have a few directories (Documents, Photos, Videos, etc) it is setup as shown below:
> Main-Share
- > Documents
-- > MyDocument.txt
- > Photos
-- > MyPhoto.jpg
-- > SummerPhotos
-- > BeachPhoto.jpg
- > Videos
-- > MyVideo.mov
I aim to lock down Documents, Photos, and Videos from being able to get deleted (by anyone but root) but give all users the ability to read/write/execute the files in what would be sub-folders of the Main-Share. I have been looking to add setting returning the top-level folders to sticky but this results in the folder being deleted but always returns empty as it deletes the users' files inside. I have made the folders using my root account using
mkdir Photos
so it is not owned by my user account.
What permissions am I missing on either Unraid or Chmod to make this a reality?