Quantcast
Channel: File Services and Storage forum
Viewing all articles
Browse latest Browse all 13565

Robocopy - Failure to Copy Folders and Files with Access is Denied

$
0
0

Hey everyone,

I've got a odd one to ask...I'm moving users' home drives from an old EMC NAS that's out of support and that emulated Windows Shares with CIFS.  The users were created with a script that created the shares on their behalf and gave them admin permission to the share.  Here's part of the script and as you see it uses CACLS to modify the permissions on the NTFS side (I think this might have caused the problem).

REM     Assign "Full Control" permission for user to home directory
REM     Must use CACLS for NTFS partitions
echo ----------------------------------------
echo Assigning proper permissions to %1's directory
cacls
\\serverUNC\User$\user\%1 /e /g %1:c
cacls
\\serverUNC\User$\user\%1 /e /g "support":c
cacls
\\serverUNC\User$\user\%1 /e /g "Domain Admins":f
cacls 
\\serverUNC\User$\user\%1 /E /R EVERYONE
pause

I'm moving to a new SAN that is also emulated CIFS from IBM.
Robocopy is the tool.
There's about 1TB of data to move and it's failing like crazy.  Only 34GB of data will move.
The rest states "Access is Denied" even if I'm the owner and have full rights on a file/folder from the original location, it will not copy.

Even though I'm on the security with full rights and ownership, I can't copy it with the Robocopy (or XCopy) tools...granted some stuff does move, again, most doesn't and fails with Access is Denied.

A lot of the one's that fail to copy also have unknow SIDs in the Security and in some cases, I'm also prompted while looking at the security that "The permissions on subdirectory_name are incorrectly ordered, which may cause some entries to be ineffective. Press OK to continue and sort the permissions correctly, or Cancel to reset the Permissions. "

MS and Google point to: http://support.microsoft.com/kb/322293 for help.
Problem with that is again...these are emulated CIFS and I can't logon or apply "hotfixes" of the like to a non-Windows system such as these.

Does anyone know where I might try starting to look for help with this and is this really a problem that came from using CACLS to apply NTFS permissions?
If not...do you know why I might be seeing this?

Thanks a ton in advance!!!


Viewing all articles
Browse latest Browse all 13565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>