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.

Understood.

> 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

Interesting.

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

541 views      
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 48 users online (0 registered, 48 guests)
Index | Admin contact |   Forum Time: Mar 28, 2024 - 2:32 pm UTC  |  Hits:62,370,210  (22,607 Today )
RSS Feed