[I created this topic once and after clicking "submit" form was cleared and topic not posted, this engine sux]
TCMD copies permissions between e.g. two desktops of two different users, causing target user not having rights to his own files on desktop. While Explorer does the job OK. But explorer can't handle long path so I am sometimes forced to use TCMD and then take ownership by hand.
How to set TCMD to behave like Explorer in such case?
DO NOT copy NTFS permissions
Moderators: Hacker, petermad, Stefan2, white
Re: DO NOT copy NTFS permissions
TC doesn't copy permissions by default, that is, unless you check the option "Copy NTFS permissions (may need administrator rights)" in the copy dialog. However, the owner of files is always the one that copied the files.
It's a different story for moving files, especially within the same volume.
Can you please provide an example? Things like where do you copy the files to, which owner do they get, and what do you expect to happen and what happens instead.
Regards
Dalai
It's a different story for moving files, especially within the same volume.
Can you please provide an example? Things like where do you copy the files to, which owner do they get, and what do you expect to happen and what happens instead.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: DO NOT copy NTFS permissions
If I move files via Explorer using ctrl+x / ctrl + v - no problemsDalai wrote: 2022-07-16, 13:13 UTC TC doesn't copy permissions by default, that is, unless you check the option "Copy NTFS permissions (may need administrator rights)" in the copy dialog. However, the owner of files is always the one that copied the files.
It's a different story for moving files, especially within the same volume.
Can you please provide an example? Things like where do you copy the files to, which owner do they get, and what do you expect to happen and what happens instead.
Regards
Dalai
If I move files via TCMD - recipient user has no rights to files and I have to take ownership.
Re: DO NOT copy NTFS permissions
Yes, I understand that. I repeat my question:
Regards
Dalai
Redact or replace sensitive information if necessary.Dalai wrote: 2022-07-16, 13:13 UTCCan you please provide an example? Things like where do you copy the files to, which owner do they get, and what do you expect to happen and what happens instead.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: DO NOT copy NTFS permissions
Copying and moving is NOT the same thing. When you move files, they usually keep their old permissions because they are stored in an alternate data stream. You can controls this via wincmd.ini:
XPMoveMethod=
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 (and newer):1, other systems: 0
XPMoveMethod=
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 (and newer):1, other systems: 0
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com