在使用Samba进行建立Window与Linux共享时,要是不能访问,出现“您可能没有权限使用网络资源”.
setsebool -P samba_enable_home_dirs on
setsebool -P samba_domain_controller on
setsebool -P samba_enable_home_dirs on
If you need to share a system created directory you can use one of the
#
following (read-only/read-write):
# setsebool -P samba_export_all_ro on
#
or
# setsebool -P samba_export_all_rw on
时间: 2024-10-16 01:40:43