Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Filer ownership change (during copy/move)


  • Please log in to reply

#1
SemiSpace

SemiSpace

    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!
 
 
Thanks,
-Semi 
 

  • 0

Advertisements


#2
dsenette

dsenette

    Je suis Napoléon!

  • Community Leader
  • 26,047 posts
  • MVP

you can do that with xcopy or robocopy

 

https://technet.micr...y/cc733145.aspx

 

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

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP