File permission behaviour on moved folders/files
Moderators: Hacker, petermad, Stefan2, white
File permission behaviour on moved folders/files
I experience following on Win7 with TC 7.56a.
I have this file in the folder:
D:\FolderA\Test\test.txt
All permissions on Test and test.txt are inherited from FolderA permissions.
I also have another folder on the same NTFS volume. FolderB has different permissions than FolderA.
D:\FolderB
Now I go in TC in FolderA to Test and move it via F6 to FolderB (opened in another TC panel). Copy NTFS permissions box is not checked.
Following strange thing happens on resulting files and folders.
D:\FolderB\Test <- has correct permissions inherited from FolderB
D:\FolderB\Test\test.txt <- still has permissions of FolderA however Include inheritable permissions checkbox is set (nonsens!)
This behaviour is different if I move the folder Test with Windows Explorer. Resulting file and folder have correct inherited permissions of FolderB.
I have this file in the folder:
D:\FolderA\Test\test.txt
All permissions on Test and test.txt are inherited from FolderA permissions.
I also have another folder on the same NTFS volume. FolderB has different permissions than FolderA.
D:\FolderB
Now I go in TC in FolderA to Test and move it via F6 to FolderB (opened in another TC panel). Copy NTFS permissions box is not checked.
Following strange thing happens on resulting files and folders.
D:\FolderB\Test <- has correct permissions inherited from FolderB
D:\FolderB\Test\test.txt <- still has permissions of FolderA however Include inheritable permissions checkbox is set (nonsens!)
This behaviour is different if I move the folder Test with Windows Explorer. Resulting file and folder have correct inherited permissions of FolderB.
I found this in the Help:
D:\FolderB\Test <- still has permissions of FolderA however Include inheritable permissions checkbox is set (nonsens!)
D:\FolderB\Test\test.txt <- still has permissions of FolderA however Include inheritable permissions checkbox is set (nonsens!)
For me Option 2 is exactly the Win7 Explorer behaviour which I prefer. I set now in wincmd.iniXPMoveMethod=
1: When moving files within a drive, the permissions of the target folder are used
2: As 1, but when moving folders, all files and subfolders in them are changed to the target permissions too
0: The permissions of the files are kept
Default: XP:1, other systems: 0
The result of folder move is not the same like before but still surprising (and different than Windows Explorer does):[Configuration]
XPMoveMethod=2
XPMoveMethodAdmin=2
D:\FolderB\Test <- still has permissions of FolderA however Include inheritable permissions checkbox is set (nonsens!)
D:\FolderB\Test\test.txt <- still has permissions of FolderA however Include inheritable permissions checkbox is set (nonsens!)
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The reason why XPMoveMethod=2 isn't the default is that it would be horribly slow when moving folders with many many files/folders in them. I had it set in one release version, and it was causing a lot of negative feedback. That's why I made it optional.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC