[Samba] [smb.conf] How to get "rw r r" ?

Gilles codecomplete at free.fr
Fri Oct 25 10:25:13 UTC 2024


Hello,

On a Linux partition, I'd like new files to be created as "rw r r".

0133 doesn't seem to be the right mask for that pupose.

Does someone know what I should use instead?

Thank you.

============ fdisk -l
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disklabel type: dos

Device     Boot Start        End    Sectors   Size Id Type
/dev/sda1  *     2048 1887105023 1887102976 899.8G 83 Linux

============ smb.conf

[write]
...
force create mode = 0644
;create mask = 0664
create mask = 0133 ;how to get rw r r?

============ Copied file from Windows through Samba

-rwxrw-rw-  1 nobody 9062 Oct 25 12:18 copiedfromWindows.txt*




More information about the samba mailing list