Problem:
Create three public, training, and devel subdirectories in the/data/share directory for the following purposes:
The public directory is used to store public data, such as the company's rules and regulations.
The Training Directory is used to store the company's technical training materials
The devel directory is used to store project development data.
Share the/data/share/public/directory to public. All employees can access the directory, but only have the read permission.
Share the/data/share/Training Directory with peixun, which allows all employees of the Admin and technical departments to read data, but cannot write data. Access by others is prohibited.
Share the/data/share/devel directory with kaifa. All employees in the technical department can read files in this directory, but only the Administrator admin and devel employees have the write permission.
Set up a Samba server as required.
1. Install the samba Service
2. Create directories and users
3. Configure the samba Service
4. Users who access the Samba server
5 Test
An example of SAMBA service configuration