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
7 months agoHeike
8 months agoMerrilee
8 months agoGracia
8 months agoKarl
8 months agoFranklyn
9 months agoHarris
9 months agoParis
9 months agoThora
9 months agoCortney
9 months agoIzetta
9 months agoNickole
9 months agoKris
9 months agoArlette
9 months agoKassandra
2 years agoDaniela
2 years agoRuthann
2 years agoAn
2 years agoBrett
2 years agoNohemi
2 years agoMicaela
2 years agoHubert
2 years agoDexter
2 years agoMing
2 years agoShawna
2 years agoBulah
2 years agoTheresia
2 years agoStevie
2 years agoJosphine
2 years agoCassie
2 years agoAshlyn
2 years agoSkye
2 years agoMiesha
2 years agoGilberto
2 years agoRegenia
2 years agoYoulanda
2 years agoMabelle
2 years ago