Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > PowerShell

Copy NTFS permissions

Closed Thread
 
Thread Tools Display Modes
Old 08-01-2007   #1 (permalink)
BMC
Guest


 

Copy NTFS permissions

I want to copy files from one volume to another. Files copied with copy-item
do not retain NTFS permissions; they inherit the destination permissions.

How might I achieve this? How can I read and set permissions using
PowerShell most efficiently?
Old 08-01-2007   #2 (permalink)
Kiron
Guest


 

Re: Copy NTFS permissions

You can get the permissions from the source with Get-ACL
Then you can set the permissions at the destination with Set-ACL

To read about them:

Help Get-ACL
Help Set-ACL

--
Kiron
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove all NTFS Permissions from Folder Gregor PowerShell 2 03-13-2008 08:46 AM
how to list out ntfs permissions Frank PowerShell 3 11-16-2007 09:30 AM
NTFS permissions for a domain user RedParanoid Vista networking & sharing 0 04-28-2007 02:04 AM
Cannot copy file from network share on NTFS drive to local NTFS drive MDaniel Vista General 5 01-18-2007 01:25 PM
NTFS Security Permissions (HOW TO RESET?) Mike (Bryett Enterprise LTD) Vista security 4 06-14-2006 12:54 PM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50