
Re: Archive bit on NTFS-3G drive
Hi,
Code:
chown 1000:1099 file
chown 1010:1088 file
These are commands you can type on the console, which I recommended for checking ownership. These are NOT to be placed in UserMapping
Quote:
I have a full string filled, i.e. both (gid and uid) numbers in semicolons and an ACL in third parameter
use colons (:) not semicolons (;) and the third field is a SID, such as :
Code:
500::S-1-5-21-1833069642-4243175381-1340018762-1008
Using the same SID for uid and gid is not recommended (the SID is the part starting with the letter S).
Quote:
But when tried setting a group and a user in different lines (empty first semicolon in group), got on mount:
Code:
There were no valid user or no valid group
That means your file is wrong.
It would be more simple to debug it if you posted it.
Quote:
Does ntfs-3g allow incomplete lines?
No
Quote:
Which is the exact syntax & field meaning of UserMapping ?
uid:gid:SID
uid is a number or login name of a linux account, or is left void
gid is a number or group name of a linux group, or is left void
(either the uid or the gid should be left void, to avoid reusing the SID).
SID is a sequence of strange numbers with constraints defined by Microsoft
As a first step, you should just use the example I told you.
This is a more complex example, with one account (uid=500, gid=500) usable on Windows
Code:
500::S-1-5-21-1833069642-4243175381-1340018762-1008
:500:S-1-5-21-1833069642-4243175381-1340018762-513
::S-1-5-21-1833069642-4243175381-1340018762-10000
Regards
Jean-Pierre