Wrong(?) file permission on move to same drive

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
phuizess
Junior Member
Junior Member
Posts: 4
Joined: 2010-12-18, 21:45 UTC

Wrong(?) file permission on move to same drive

Post by *phuizess »

* I have mapped a directory from my NAS as z:
* When I move a file from z: to somewhere else on z:, I can't read the file afterwards: "access denied on file xxx!"
* If I copy a file from z: to z: I don't experience the problem
* If I move using "Copy NTFS permissions" option I can read the file after the move.
* If I move the file from z: to z: in explorer I don't experience the same problem.

Is this working as intended or is it a bug? Seems like copy and move should behave the same.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

When a drive is reported as NTFS, Total Commander applies the NTFS attributes of the new parent folder to the moved file. This is done so when you move a file from a folder which belongs to user X to a folder which belongs to user Y, the file becomes the property of that user.

Apparently your NAS doesn't correctly implement NTFS permissions, so the permissions for the new target are probably empty.

You can turn off this behaviour:

Please add the following string to the file wincmd.ini, section [Configuration]:
XPMoveMethod=0

You can edit the wincmd.ini via Configuration - Change settings files directly.
Author of Total Commander
https://www.ghisler.com
Post Reply