PC Review


Reply
Thread Tools Rate Thread

Copy a file with permissions

 
 
Bouga
Guest
Posts: n/a
 
      5th Jul 2004
Hi

Does someone know a site where I can find the procedure
of copying an NTFS file from one folder to another and
keep all the permissions unaltered ?

Or does anyone know how ?

TIA
 
Reply With Quote
 
 
 
 
Marin Marinov
Guest
Posts: n/a
 
      5th Jul 2004
In article <267a001c4628f$a750eb00$(E-Mail Removed)>,
(E-Mail Removed) says...
> Hi
>
> Does someone know a site where I can find the procedure
> of copying an NTFS file from one folder to another and
> keep all the permissions unaltered ?
>
> Or does anyone know how ?
>
> TIA
>

Hi Bouga,
Not exactly a group policy related question Anyway, when you copy a
file a *new* file is created, it inherits the permissions on the parent
folder, and you can't change that. The only case when a file retains its
permissions is when you *move* it in a folder on the *same* NTFS
partition/volume.

What specifically do you want to accomplish? You may need to script
permissions "synchronization" if you really need this.
--
Cheers,
Marin Marinov
MCT, MCSE 2003/2000/NT4.0,
MCSE:Security 2003/2000, MCP+I
-
This posting is provided "AS IS" with no warranties, and confers no
rights.

"True knowledge exists in knowing that you know nothing."
Socrates
 
Reply With Quote
 
Steven L Umbach
Guest
Posts: n/a
 
      5th Jul 2004
See the link below on how to use xcopy /o to do such. My experience is that xcopy /o
will copy only explicit permissions. You can however change inherited permissions to
explicit permissions by going into the security advanced page where you can remove
the inheritance flag at which time you will be prompted whether you want to copy or
remove existing permissions. Be sure to test out any method you use and have a
backout plan that includes full backups. --- Steve

http://support.microsoft.com/default...b;en-us;323007

"Bouga" <(E-Mail Removed)> wrote in message
news:267a001c4628f$a750eb00$(E-Mail Removed)...
> Hi
>
> Does someone know a site where I can find the procedure
> of copying an NTFS file from one folder to another and
> keep all the permissions unaltered ?
>
> Or does anyone know how ?
>
> TIA



 
Reply With Quote
 
Guest
Posts: n/a
 
      7th Jul 2004
Solution: robocopy.exe (resource kit)

/marcus torstensson


"Bouga" <(E-Mail Removed)> wrote in message
news:267a001c4628f$a750eb00$(E-Mail Removed)...
> Hi
>
> Does someone know a site where I can find the procedure
> of copying an NTFS file from one folder to another and
> keep all the permissions unaltered ?
>
> Or does anyone know how ?
>
> TIA



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant copy or zip a file - File not found or no read permissions" error Jack B. Pollack Windows XP General 2 15th Nov 2008 01:29 PM
File Copy Permissions... =?Utf-8?B?RGxlZ3JhbmQ=?= Microsoft Windows 2000 1 17th Aug 2006 11:38 PM
Lost file permissions after image copy from Recovery CD and FBA =?Utf-8?B?VG9iaWFz?= Windows XP Embedded 3 26th Sep 2005 03:59 PM
file permissions-read only also no copy stephentijus Microsoft Windows 2000 File System 3 14th Sep 2005 01:08 PM
Copy File and Permissions Chris Strobel Microsoft ASP .NET 1 26th Mar 2004 06:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:24 AM.