Samba public folder permission settings
Requirement 1: public folder, which can be read and written by all users
Requirement 2: It can be seen from requirement 1 that all users have read and write permissions. However, according to business requirements, user 1 uploads files and user 2 can read files of user 1, but cannot write files, in the future, user 2 will have the permission to read and write user 1 files.
The following describes the meanings of these parameters:
Create mode-this configuration defines the attributes of the newly created file. When creating a new file, Samba maps the permissions of the dos file to the corresponding unix permissions. The permissions obtained after the ing will be associated with the values defined by this parameter. Then perform or operate with the following force create mode to obtain the final File Permission in linux.
Force create mode-see the preceding description. The permission bit set by this parameter must appear in the file attributes.
Directory mode-this configuration is similar to the create mode parameter, but it is applied to the newly created directory. When creating a directory, Samba maps the file attributes after dos-> linux ing with the values defined by this parameter, and then matches the force directory mode, set the Directory attribute according to the value.
Force directory mode-see the preceding description. Equivalent to the permission bit set in this parameter, it must appear in the directory attribute.
------------------------------------ Split line ------------------------------------
How to share files with Samba in Ubuntu 14.04
The speed of accessing samba from Ubuntu dual Nic of VMWare Virtual Machine doubles
Add the Samba File Sharing Server to the Windows Server 2003 Domain
Samba installation Configuration
Samba service configuration in CentOS 6.2
Samba Server installation and configuration
How to Build the Win7 + VMware + Fedora18 Samba Server
------------------------------------ Split line ------------------------------------
Samba details: click here
Samba: click here
This article permanently updates the link address: