Mr_N
Patron
- Joined
- Aug 31, 2013
- Messages
- 289
Ok so i have my volume shared via cifs and i connected to it in windows just using root user/pw to copy all my data onto it, i cbf messing around with adding more users at this stage as it'll only be me accessing it.
But i want to set the permissions on the first few top level directories so that they cant be accidentally deleted, even by root or their owner which is also root in this case.
Directory Structure:
/mnt/Volume/Archive/MediaType1/Subdirectories/Files
/mnt/Volume/Archive/MediaType2/Subdirectories/Files
/mnt/Volume/Archive/MediaType3/Subdirectories/Files
etc
How do i chmod the Archive & MediaType1/2/3 directories so they cant be deleted at all unless the permissions are changed back, while allowing owner deletion of the Subdirectories & Files contained within them?
thx in advance :)
But i want to set the permissions on the first few top level directories so that they cant be accidentally deleted, even by root or their owner which is also root in this case.
Directory Structure:
/mnt/Volume/Archive/MediaType1/Subdirectories/Files
/mnt/Volume/Archive/MediaType2/Subdirectories/Files
/mnt/Volume/Archive/MediaType3/Subdirectories/Files
etc
How do i chmod the Archive & MediaType1/2/3 directories so they cant be deleted at all unless the permissions are changed back, while allowing owner deletion of the Subdirectories & Files contained within them?
thx in advance :)