I have to archive (= move to an "archive" subfolder and set the read-only flag) a set of remote directories, preserving the ACLs, on a remote Windows server. The directories have different access right, some inherited from the parent folder, some not. It is fundamental that the moved directories preserve their access permissions (for instance, some directories might be accessible only by the managers and have to remain so).
I have played a bit with the "Read only" flag in the directories' properties and it seems to partially meet my requirements -- after I set it, I am still able to create a new file in the RO directory, and I would like to prevent it.
The biggest problem is, however, in moving the directories without destroying the ACLs.
Can anyone help me with the above mentioned issues, please?
Thanks a lot in advance!