Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

Filer ownership change (during copy/move)

  • Please log in to reply



    New Member

  • Member
  • Pip
  • 1 posts
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!

  • 0




    Je suis Napoléon!

  • Administrator
  • 26,041 posts
  • MVP

you can do that with xcopy or robocopy




there are a billion and a half switches, to accomplish this task with robocopy.


here's a version I use to move files from file server to file server


ROBOCOPY \\<servername>\Sharename \\<targetserver>\Targetshare /MIR /SEC /SECFIX /COPYALL

  • 1

Similar Topics

4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP