How do I fix CIFS on VNX after I messed up permisisons rather badly?
I have an NFS share that I exported via CIFS as "Users"
I accidently messed up CIFS access and I could use your advice on how to fix it.
Specifically, I accidently set the CIFS permissions from the share level on down to "Read & execute" for my regular AD account and my admin AD account with no other accounts listed.
Since I don't have "Full Control" I don't seem to be able to fix this.
If we're talking file level permissions you may want to consider using a robocopy /secfix option between a checkpoint and the source.. Something like this:
robocopy /secfix /xo /xn /xc
That should copy the security permissions without copying the data.. The only downside is you may lose any changes to security information which changed from checkpoint to live..
After that, share permissions were the same but at the top level (and perhaps below) directory, the trouble-some ACL had been removed and it was now set to Everyone = Full Access.
Not sure this will help you, but I have a perl quick which takes two files as arguments. The first is a "source". It when clones ACLs from source to target using ls -led and chmod... Not sure if this could be adapted to fit your needs or not..
dynamox
11 Legend
•
20419 Posts
•
87439 Points
2354
0
Posted March 4th, 2013 19:00
share permissions or folder permissions ?