Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filer ownership change (during copy/move)

Status
Not open for further replies.

SemiSpace

IS-IT--Management
May 26, 2015
1
RS
Hello one and all!

I've a problem regarding change of file ownership on network shares.

Namely, we have several (large) CIFS shares on our NetApp storage systems where the native (user) quota management is based on file ownership. We plan to employ this quota management for automation purposes, but the problem is that our analysis showed that the owner of the majority of files on these shares is - Administrator. This is an unfortunate end-result of bad scripting from the past and we need to remedy this situation.

After a lot of thought, and keeping the overall complexity of folder structure in mind, it became clear that the ideal solution would be to simply have the users copy/move the files they need from their old network shares to newly created ones - and at the same time - have the ownership for each file copied/moved, change somehow "in-flight" so to speak.

Can this be done? Moving files from one NTFS volume, to another volume, where ownhership is configured to be inherited is feasible - but these are CIFS shares and it's not working.

I googled the subject but... no luck.

I must admit I'm stumped. Any ideas are more than welcome!


Thanks,
-Semi
 
Can you map out what permissions you want to set at each folder? If so then it can be scripted with XCACLS.

I hope that helps.

Regards,

Mark

No trees were harmed in posting this message, however a significant number of electrons were terribly inconvenienced.

Check out my scripting solutions at
Work SMARTER not HARDER.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top