So, although I have RAID1 I was worried that a foolish deletion could blow-away my music library.
After some trials, I figured out this protection scheme using NTFS permissions. Has anyone come up with a better approach?
In essence, I logged in as Administrator and went to the top folder of the tree(s) to be secured, then for 'Everyone' added Deny permissions applied to the Folder and its subfolders. The Deny permissions are for Deletion of Subfolders and Files and Delete.
Now these Deny permissions are in place, you can't delete/rename any folders in the library or the root folder. However, you can move/copy folders into the library and change/delete individual files (i.e. change meta-data). Files can still be deleted as the Deny permissions weren't applied to files, only folders; you could change this by selection a different Apply To if you really wanted to lock down everything.
If you really need to delete a leaf folder, you need to change it's permissions by copying down all the inherited permissions, then delete the specific Deny permissions for Everyone. Not something you can do by accident.
Testing suggests that even if the top folder isn't in the drive root, NTFS will check and prevent a delete cascading down.
Try it yourself with a *test* folder structure
After some trials, I figured out this protection scheme using NTFS permissions. Has anyone come up with a better approach?
In essence, I logged in as Administrator and went to the top folder of the tree(s) to be secured, then for 'Everyone' added Deny permissions applied to the Folder and its subfolders. The Deny permissions are for Deletion of Subfolders and Files and Delete.
Now these Deny permissions are in place, you can't delete/rename any folders in the library or the root folder. However, you can move/copy folders into the library and change/delete individual files (i.e. change meta-data). Files can still be deleted as the Deny permissions weren't applied to files, only folders; you could change this by selection a different Apply To if you really wanted to lock down everything.
If you really need to delete a leaf folder, you need to change it's permissions by copying down all the inherited permissions, then delete the specific Deny permissions for Everyone. Not something you can do by accident.
Testing suggests that even if the top folder isn't in the drive root, NTFS will check and prevent a delete cascading down.
Try it yourself with a *test* folder structure
Comment