8.Apr.2011 |
by Gusac |
Filed in: Articles, Tutorials
There is just some logic with which Windows handles the file level permissions while moving or copying files from one location to another. Depending on the destination, be it the parent folder, same volume or a different one, the Access control Entries (ACE) are added or replaced from the file Access Control List (ACL)
The way Windows 7 or Windows 2008 R2 handles the permissions while move/copy operation is different from previous version of Windows. This article talks only about how Windows 7 and Windows 2008 R2 server handles
The table below has the source and destination folder with the type of operation performed. The result is provided against each operation
|
Source
|
Destination
|
Operation
|
Result
|
| |
|
|
|
| Child Folder |
Parent Folder |
Copy |
Both explicit and implicit Permissions are NOT retained. Permissions of destination parent folder are inherited.
|
| Chid Folder |
Parent Folder |
Move |
Explicit permissions are retained only and destination folder permissions are inherited.
|
Same Volume |
|
|
|
| Same Volume, Folder A |
Same Volume, Folder B |
Copy |
Both explicit and implicit Permissions are NOT retained. Permissions of destination parent folder are inherited.
|
| Same Volume, Folder A |
Same Volume, Folder B |
Move |
All implicit and explicit permissions are retained. Destination parent folder permissions are NOT inherited.
|
Different Volume |
|
|
|
| Folder A |
Folder B |
Copy |
Both explicit and implicit Permissions are NOT retained. Permissions of destination parent folder are inherited.
|
| Folder A |
Folder B |
Move |
Both explicit and implicit Permissions are NOT retained. Permissions of destination parent folder are inherited.
|