ZTree.com  | ZEN  | About...  

 Index   Back

Messy Permissions   [Zeta]

By: John Gruener     Orlando, Florida  
Date: Jun 07,2022 at 00:33
In Response to: Mystery Solved! (Ben Kent)

> Windows explorer is coded to never elevate, when it asks to elevate to
> copy/move a file, what is does is grant you rights on the destination, so
> you end up with messy permissions.

Messy indeed. Inheriting full control from "C:\Program Files" makes no sense.

> To get the equivalent behaviour as you got with the elevated ZTree, you
> should use an elevated cmd window and the move command.


> Note
> This can change the behaviour of explorer when elevation isn't needed,
> so would not make any difference in your case
> reg.exe Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v
> MoveSecurityAttributes /t REG_DWORD /d 0 /f


I never use Win Explorer to move or copy. I used it only because Andrew mentioned it, and I was curious as to how it would be handled. I had expected it to be the same as ZTree, but as is often the case with Windows, unexpected happens.

Thanks for all the info Ben.

- John


Messages in this Thread

96,656 Postings in 12,233 Threads, 350 registered users, 30 users online (0 registered, 30 guests)
Index | Admin contact |   Forum Time: May 18, 2024 - 12:12 pm UTC  |  Hits:63,518,935  (3,639 Today )
RSS Feed