QuestionQ5Verified/Samba Share ConfigurationCopy linkReport a problemAsk AstroTutorSave questionWhich statement is true about the create mask option in smb.conf?AEach permission bit that is set (1) in create mask cannot be set on a file created by Samba even if the client requests it to be set.BEach permission bit that is cleared (0) in create mask is only set on a file created by Samba if the client explicitly sets the bit.CEach permission bit that is cleared (0) in create mask is always cleared on a file created by Samba even if the client explicitly sets the bit.DEach permission bit that is set (1) in create mask is always set on a file created by Samba regardless of the permissions set by the client.EWhen both create mask and create mode are specific for a share, create mask is ignored.Show AnswerAnswerExplanationcreate mask is a bitwise AND mask applied to the UNIX mode calculated for a newly created file. Consequently, every permission bit cleared (0) in the mask is cleared in the created file’s mode even when the client explicitly requests that bit. Permission bits set in the mask are allowed, but not automatically forced on.Learn moreSamba smb.conf manual — create maskShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion