Havany
Hi,
Did you try 133 mask instead of 0133 ?
We use to disable acl for this kind of share and do something like that :
[share]
path = /a/share/path
create mask = 133
directory mask = 022
valid users = @agroup
write list = @sagroup
force group = @agroup
nt acl support = No
Regards,
Arnaud Cruzel
Le 25/10/2024 ? 12:25, Gilles via samba a ?crit?:> 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*
>
>