Samba public folder permission settings

Source: Internet
Author: User

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:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.