Dont copy NTFS rights
Hello,I'm having a problem with my file copy procedures.I tell my users to cut and past several files on the same network share.These files are cut and pasted from a folder which is restricted to most users. After the files are moved the user has to reset the NTFS security for the files or else nobody can open them (because NTFS right have been moved as wel).I know this is by design but isn't there a way to manipulate these settings.So my users dont have to reset the rights to the files?
March 10th, 2008 1:40pm

Hi R.Dissel, Here are the procedures for copying and moving file: When a file is copied from one location to another location, whether on the same or different volume, a new file is created in the destination location. The file inherits the permissions, the Access Control List (ACL), from its parent folder. When a file is moved from one location to another on the same volume, the file retains its security descriptor. Only the pointer to the resource is modified. When a file is moved from one location to another on a different volume, it acts similar to the copy, except the file is deleted from the source location. The moved file inherits the permission from the parent folder. As a result, I suggest that you copy the file from one location to another on the same volume instead of moving them. Hope it helps.
Free Windows Admin Tool Kit Click here and download it now
March 12th, 2008 7:18am

It doesn't help me much, but i was rather looking for confirmation then a solution .Tnx Joson.
March 12th, 2008 8:57pm

Hi R.Dissel, Please understand that the file will not retain its security descriptor (NTFS permission) by default when you copy it from one location to another location. So I suggested you try to copy the file to address the requirement in the previous post.
Free Windows Admin Tool Kit Click here and download it now
March 13th, 2008 12:49pm

I don't have all the info on how to do it, but powershell should be able to do this for you. Something along the lines of$acl = Get-ACL "originalfile"copy "source" "destination"set-acl "destination" $acl
September 25th, 2008 8:09pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics