In case the following parameters are set in a Samba file share configuration:
create mask = 711
force create mode = 750
What are the effective permissions of a file created with the permissions 777?
The effective permissions of a file created with the permissions 777 can be calculated considering the create mask and force create mode.
create mask = 711 implies that the permission bits are ANDed with 0711, i.e., only the owner can read, write, and execute.
force create mode = 750 implies that certain permission bits are always set, specifically 0750, i.e., read, write, and execute for the owner, and read and execute for the group.
The create mask reduces the permissions to 0711, and then force create mode adds the 0750 mask to the result.
Original permission: 777 AND with create mask (711): 711 OR with force create mode (750): 751
Thus, the effective permission is 751.
Samba smb.conf man page - create mask
Eura
3 months agoHeike
3 months agoMerrilee
3 months agoGracia
4 months agoKarl
4 months agoFranklyn
4 months agoHarris
4 months agoParis
4 months agoThora
5 months agoCortney
5 months agoIzetta
5 months agoNickole
5 months agoKris
5 months agoArlette
5 months agoKassandra
1 year agoDaniela
1 year agoRuthann
1 year agoAn
1 year agoBrett
1 year agoNohemi
1 year agoMicaela
1 year agoHubert
1 year agoDexter
1 year agoMing
1 year agoShawna
1 year agoBulah
1 year agoTheresia
1 year agoStevie
1 year agoJosphine
1 year agoCassie
1 year agoAshlyn
1 year agoSkye
1 year agoMiesha
1 year agoGilberto
1 year agoRegenia
1 year agoYoulanda
1 year agoMabelle
1 year ago