Hard Links and Permissions / ACLs
|
by Helge Klein on 05/14/2009 | 0 Comments | 2,026 Views
|
Commenter Lee asked how ACLs are evaluated when an object has multiple hard links. I replied with comments of my own, which turned out to be wrong after I did some experiments. Here is what I found out about hard link permissions and believe to be true.
Can permissions on multiple hard links to the same data be different?
No. Permissions on all hard links to the same data on disk are always identical. The same applies to attributes. That means if you change the permissions/owner/attributes on one hard link, you will immediately see the changes on all other hard links.
Which permissions on the link target are required to create a hard link?
Only the permission "write attributes" (for programmers: FILE_WRITE_ATTRIBUTES) is needed on the target. Whether or not you are the owner of the target is not relevant.
These topics do not seem to be documented anywhere. So how did I find out? I tried it out (on Windows 7 RC).
- ‹‹‹ previous Article
- 74 of 129
- next Article ›››
[Your opportunity] IT-Competence and work-live-balance is our USP. Continue your career with sepago! Immediate job offers
0 responses for "Hard Links and Permissions / ACLs" |
Add Comment
![]() |
Helge Klein IT-Architect Blogs about Windows, Terminal Services and other things Personal Profile Personal Blog RSS-Feed ![]() Twitter: HelgeKlein ![]() |
|
Related Jobs
Latest posts
| 07/23/2010 | How to Modify Default Share Permissions and Other Tweaks |
| 07/12/2010 | Will We Use Cloud-Based Virtual Desktops in 2020? |
| 06/21/2010 | Registry Tricks |
Most viewed
| Title | |
|---|---|
| 32,780 Views |
Where is the Hosts File on Windows x64? |
| 27,441 Views |
Deleting a Local User Profile - Not as easy as one Might Assume |
| 19,462 Views |
How to Reduce the Size of Roaming Profiles |





