Access rights on Windows 2012R2 shared not handled correctly

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
fertgp
Junior Member
Junior Member
Posts: 2
Joined: 2016-06-24, 07:35 UTC

Access rights on Windows 2012R2 shared not handled correctly

Post by *fertgp »

The following behavior is not new to TC 9.0x, also TC 8.52a shows the same behavior. The strange thing is, that TC 9.0b2 handles it correctly.

Here is the situation:
There are two different folders A and B, both on the same volume on a Windows 2012R2 server. The two folders have different access right settings. All subfolders and files are setup to inherit access right from their parent folder. If you now move a subfolder of folder A to folder B, you will see access rights in folder B are setup explicitely instead of keeping inheritance from parent folder. Doing the same via cut & paste in windows explorer works as expected. As already mentioned TC9.0b2 was the only version that handled it also correctly.
fertgp
Junior Member
Junior Member
Posts: 2
Joined: 2016-06-24, 07:35 UTC

Post by *fertgp »

Sorry, I forgot to mention: TC was running on a windows 7 client, not on the server itself.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

All versions of TC try to set permissions to inherit from parent when you move a file/folder. Unfortunately it's not documented how to do this correctly, so I had to write my own code. This isn't a problem when creating a new file/folder because Windows then does it automatically. But it's a big problem when moving because MoveFileEx actually keeps the permissions of the file/folder from its previous location.
Author of Total Commander
https://www.ghisler.com
Post Reply