Настройка SELinux:
включить разрешение к домашней директории:
getsebool -a|grep samba
setsebool -P samba_enable_home_dirs on
Настроить доступ к произвольному ресурсу:
setsebool -P samba_export_all_ro=1 samba_export_all_rw=1
getsebool -a | grep samba_export
semanage fcontext –at samba_share_t "/finance(/.*)?"
restorecon /finance
ресурсы: