Resolves an issue in which some directory access does not have permission after the Windows root login Linuxsamba. It should be the SELinux setup issue.
The modification of SELinux is generally to terminate the service and operate as follows:
To view the SELinux status:
1,/usr/sbin/sestatus-v # #如果SELinux The status parameter is enabled is turned on
SELinux status:enabled
2. Getenforce # #也可以用这个命令检查
To turn off SELinux:
1, temporarily shut down (do not restart the machine):
Setenforce 0 # #设置SELinux become permissive mode
# #setenforce 1 set SELinux to become enforcing mode
2. Modify the configuration file to restart the machine:
Modify the/etc/selinux/config file
Change Selinux=enforcing to Selinux=disabled
Restart the machine
Transfer from http://www.2cto.com/os/201505/396744.html
The construction of Smba server and the use of the client in Linux