Having an interesting issue with permissions
and windows XP Pro...
Basically I have a windows XP PRO box with NTFS
and some shares defined that I use to back up stuff
to from workstations over the network. (workgroup
only, NO domain...all users set up as administrators)
was playing with syncback SE...I selected an
option to "back up NTFS security"...
backup worked fine...
however, since the user on the local machine
is not defined on the XP PRO backup box,
when I try to access the backed up files on
the network share, I get an "access denied" error...
because the network user has no rights to the
backed up files...
I can fix the problem intereactively by going to the XP Pro box,
and taking ownership of the folder/files and resetting
the permissions...
I would like to prevent this from happening at all
if possible (different question already submitted
about that), but if that is not possible, I will probably run a batch
file each night to reset the owner and permissions
on the shared backup folders...
I experimented with subinacl but the documentation
sucks....(what is the difference between /owner=
and /setowner=???) also it doesn't seem to
support the "inherited" permssions ability...
so, to save some time was wondering, if someone
could tell me how, using subinacl or something else, how I would
reset all files/folders below a particular shared folder
to a "pristine" state?
(ie reset the owner on all files/subdirs below a folder
to group "administrators" and/or a particular user, and
blow away all existing (undefined users) access permissions and auditing permissions
(/perm? /audit?) and replace with just the "inherited permissions"
from the folder above (the share folder-which is not changed by the backup)?
since there are some large trees involved, speed
and efficiency are also important.
Start Free Trial