The Samba service makes it easy to build enterprise-class file-sharing services that are simpler and easier to configure than Windows ntfs+ share permissions, and samba can be accessed more efficiently directly through the kernel and user interaction data.
------------------------ --------
Company Department:
Technical Department: Technical
Customer Service Department: Customer
Sale Department: Sales
The members of the Department note:
Technical Department Member: Dennis ...
Customer Service Department Member: Lulu ...
Sales Department member: Amy ...
Company General Manager: Sfzhang
File Share requirements:
1. Each department member has read and write access to its own shared folders.
2. The general manager of the company to all departments of all members of the files have read permissions, the technical department of the folder has write permission.
3. Members of the sales department do not see the shared files of other members of the Department and share files with other departments read-only.
4. Customer Service Department members have read-only access to sales departments and technical department documents.
5. Members of the technical department are unable to access other departments to share files.
-------- ------------------------
1. For convenience, use Yum to install Samba services directly.
2. Create a data sharing directory.
3 Add the user group, each department corresponds to a group.
4 Add the user and add the user to the group they belong to (the members of the sales department do not need to be included in the reorganization).