Problem is that I cannot set the source and target destination to the same.
Therefore, is there any way I can manually set the lock on a specific directory and its subfolders and files.
The reason being is that I need to lock it (or make it entirely read only) so that users cannot continue to save data/files there as it is no longer their main storage area. However, I cannot yet touch ACLs as I need them for data migration purposes to assign on new file system.
I mean, I wouldn't mind denying full control to everyone at top level, but inheritance will allow explicit allow permissions at some levels.
Peter, thanks for your commands for making SMB Share and NFS Share Read-Only. Is there a similar command to just make a directory RO as well (Directory is part of a share but don't want to make the entire Share RO)
bryant132
1 Rookie
•
4 Posts
2899
0
Posted April 30th, 2020 04:00
Looking for an answer, I stumbled upon this.
This is the opposite of what I want.
How would I be able to set that read-only attribute on a directory?