Hi. Can You explain how this function works?
For example i am copying (under Win7) a folder from Program Files to another drive (from C: to D:).
It is copied to some folder for example D:\ProgramFilesMirror.
This folder has own set of privilages, other than the C:\Program Files and different set than source folder.
If I don't use this "copy ntfs privilages" the copied folder inherits privilages from ProgramFilesMirror.
So I would expect that if I use the mentioned option i will get the effect where copied folder will retain original set of privilages and all subfiles and subfolders will inherit from it.
But even if the option is checked the result is exactly the same as without checking NTFS privilages options.
Is this work somehow or it is only for fun?
EDIT: it seems that it works but in different way i was thinking. It doesn't touch the zone where privilages are inherited. But if they are not inherited, they will be copied. But it makes that this option has any sense if we are copying starting from the highest folder in the directory tree because in most cases all rest folders and files are inheriting privilages so this function will give nothing.
Copy NTFS privilages - how it works?
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The functions are quite complex - please contact me by e-mail if you want to see the code.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Well, i could look into code, although I am not advanced programmer. I expect it can be complicated because whole Windows privilages system is not easy but complicated.ghisler(Author) wrote:The functions are quite complex - please contact me by e-mail if you want to see the code.
But I think I got a grip how it works (EDIT section of my post).
It could be implemented in other way, but it is hard to say if there is one proper way to implement this.
There are many Windows documents on the netZygus wrote:Well, i could look into code, although I am not advanced programmer. I expect it can be complicated because whole Windows privilages system is not easy but complicated.ghisler(Author) wrote:The functions are quite complex - please contact me by e-mail if you want to see the code.
But I think I got a grip how it works (EDIT section of my post).
It could be implemented in other way, but it is hard to say if there is one proper way to implement this.
which explains you the NTFS basics and advanced features.
This is not the forum to teach you NTFS
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64