Side effects on attribs on deleting a read-only hardlink
-
- ALTAP Staff
- Posts: 1112
- Joined: 08 Dec 2005, 09:13
- Location: Novy Bor, Czech Republic
- Contact:
Re: Side effects on attribs on deleting a read-only hardlink
Thanks for reporting this! I have tested with Explorer (in Windows 7) and TC and neither solves this problem. Salamander and TC clear more than only read-only (RO) attribute, Explorer clears only RO (other attributes are not changed), it's surely better behavior. Now I'll fix our code to clear also only RO. I will do more complex patch to fully fix this problem sometimes later, currently I'm afraid of slowdown of delete operation and do not want to spend time experimenting with this. Thanks for understanding!
-
- ALTAP Staff
- Posts: 1112
- Joined: 08 Dec 2005, 09:13
- Location: Novy Bor, Czech Republic
- Contact:
Re: Side effects on attribs on deleting a read-only hardlink
Yes, only for read-only files, maybe only on local fixed NTFS drives, it has to be discovered, maybe later.
You can find some info in MSDN in documention for CreateHardLink function, section Remarks:
https://msdn.microsoft.com/en-us/librar ... 85%29.aspx
You can find some info in MSDN in documention for CreateHardLink function, section Remarks:
https://msdn.microsoft.com/en-us/librar ... 85%29.aspx
Re: Side effects on attribs on deleting a read-only hardlink
Or skip the restrictive Win32 layer. ZwCreateFile
Ελληνικά rulez.