Find the answer to your Linux question:
Results 1 to 3 of 3
What axactly does the following parameters mean in the samba file Security mask create mask directory mask write list I have looked at the man smb.conf page, it gives definitions ...
  1. #1
    Just Joined!
    Join Date
    Aug 2011
    Posts
    39

    What axactly does the following samba parameters mean

    What axactly does the following parameters mean in the samba file

    Security mask
    create mask
    directory mask
    write list

    I have looked at the man smb.conf page, it gives definitions yes, but still not clear. Can someone please put it in simple terms?

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    616
    A security mask says what rights can be changed when you access the share, given the appropriate level of ownership is present. By default its 0777, meaning a user is allowed to change any user/group/world permissions if they have enough privilege to do so.

    A create mask is default mask that is applied when a user creates a file. Say its set to 0644. Whenever a file is created, it will have those UNIX permissions applied to it.

    A directory mask basically the same thing as a create mask. Directories need the execute bit set.

    A write list is a list of users that have write permission to a share.

    Remember, linux permissions will always take precedence over samba permissions.
    linux user # 503963

  3. #3
    Just Joined!
    Join Date
    Aug 2011
    Posts
    39
    Thank you, now its clear.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...