Set to default: Copy NTFS Permissions

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
ig88
Junior Member
Junior Member
Posts: 5
Joined: 2021-12-14, 20:13 UTC

Set to default: Copy NTFS Permissions

Post by *ig88 »

My use case:
I have sensitive, eyes-only files/directories in let's say, t:\supersecret. Files must retain their restricted group ownership even if they get accidentely copied to a t:\public1. By default, windows file explorer will make files inherit permissions once copied to a less secure destination.

I want this to be the default in case I have a user who has access to both areas and forgets to click the box.

Frontend: Windows 10 clients
The backend: Linux servers (redhat 7) hosting samba
Note that the linux group ownership of public1 (relates to t:\public1 samba share) is set to nobody.
So, the beginning looks like this:
drwxrwx--- root nobody 1234 5678 filename.txt

Windows 10 clients see a T: drive. Not sure if relevant, but individual directories on T: are separate samba shares but we use msdfs to make it appear on the same drive.

In TC, I've played with XPMoveMethod=0 and SamePartitions=T but each time I do a test copy, the "Copy NTFS Permissions" is not selected. On a whim, I tried it anyway without selecting the box and the file inherits permissions.

Please let me know if this is going to be fixed or am I missing something on how to make it the default? I've seen some chatter in the forum about "Copy NTFS permissions" but I couldn't find anything that sets this checkbox by default.

In my use case, I would rather have it checked by default (and deal with any permissions issues) than expose sensitive data when somebody forgot to check the box.

Thanks all.
ig88
Junior Member
Junior Member
Posts: 5
Joined: 2021-12-14, 20:13 UTC

Re: Set to default: Copy NTFS Permissions

Post by *ig88 »

Looking at my above comment about nobody, filename.txt was incorrect.
It should have read:
drwxrwx--- root nobody 1234 5678 public1
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Set to default: Copy NTFS Permissions

Post by *MVV »

Would it help too much if TC provide such option if one can copy a file via Explorer and lost its permissions?
ig88
Junior Member
Junior Member
Posts: 5
Joined: 2021-12-14, 20:13 UTC

Re: Set to default: Copy NTFS Permissions

Post by *ig88 »

The reference to file manager was to illustrate the problem. I’m evaluating TC to potentially replace it via non technical policy.
User avatar
Dalai
Power Member
Power Member
Posts: 9386
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Set to default: Copy NTFS Permissions

Post by *Dalai »

Unfortunately it wasn't stated in the OP if the "Copy NTFS permissions" option worked in the test case. AFAIK file/directory permissions on a Samba share are either inherited from the parent directory (with (POSIX) ACLs when set accordingly), the settings of that share (create mask, directory mask along with some others), or the umask. This means that the permissions are inherited from somewhere, not copied with the file.

I don't know if it's possible to do what you want to achieve. Also keep in mind that only a file's owner and root are allowed to set permissions and timestamps on that file (on Linux by default).

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
ig88
Junior Member
Junior Member
Posts: 5
Joined: 2021-12-14, 20:13 UTC

Re: Set to default: Copy NTFS Permissions

Post by *ig88 »

Forgot to mention, but yes, manually ticking "Copy NTFS Permissions" worked flawlessly. I just want to see if I can make that the default setting (that box is pre-selected) in TC.
ig88
Junior Member
Junior Member
Posts: 5
Joined: 2021-12-14, 20:13 UTC

Re: Set to default: Copy NTFS Permissions

Post by *ig88 »

Regarding ability to select Copy NTFS permissions by default: Does it exist?

If it does not, is it on the radar to get added?

I'm certainly willing to discuss paying for the addition of that ability.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6480
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Set to default: Copy NTFS Permissions

Post by *Horst.Epp »

Currently there is no Ini-File option to make "Copy NTFS permissions" the default.
Wait for an answer from Christian.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
Post Reply