We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Changing Ownership of Files and Folders

Moey_G
Moey_G asked
on
Medium Priority
799 Views
Last Modified: 2007-12-19
Hi,

We currently have 2 domains at the College. One domain servicing the teachers and staff (A) and the other domain a child domain is servicing the students (B). We have a script that is run twice a day to using xcopy syntax to copy data from the students folder to another server on Domain (A). This is an extra backup that we use just in case of emergency retrieval of data , instead of loading the tape and restoring.

The problem that I am experiencing is that I am unable to change the ownership of the files and folders for the student data to administrator of domain (A). I recieve an error " unable to set new owner on username. There is not enough space on the disk."

This is quite confusing as there is over 300GB of free space and without changing the ownership to administrator on the folders, I am unable to use the script and replicate data to the other server. If I change the ownership to the administrator of domain (B) there is no error message the ACL is updated accordingly.

Any ideas?

Thanks

Moey_G
Comment
Watch Question

Commented:
Hi Moey_G,


Is there a trust between the two domains and if there is does the user account have the correct permissions in both domains to make the file transfers?

Author

Commented:
Hi What90,

There is a two-way transitive trust between the two domains and I even used the verify button with administrator account on both DC's  using AD Domains and Trusts.

Commented:
Moey_G,

Have you tried to manually move the data accross on one folder. This would test if it's a permissions thing, rather than your batch file isn't working correctly.

Use the account the batch file uses as well.

Post back the results

Author

Commented:
What90,

I have no problems manually moving the data across to the other server. Its when I am using the batch , it needs the ownership of the files and folders to be administrator of Domain A.

Commented:
Moey_G,


Try using Robocopy, which you can download from the Ms web site (it's in the resource kit for 2003)

Its much better than Xcopy and should fix the problem as it understands owners and has a bucket load of switches.

Author

Commented:
What90,

I am still having the same issue with robocopy.exe. It will not replicate the folders unless the ownership of the files and folders are administrator. Any other suggestions?
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
What90,

Thanks for all your help. The replication works fine even without the administrator having the ownership of the files and folders.

Cheers,

Moey_G
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.