0

SAMBA : How to set the SELinux context for the directory

hello i have created share directory for samba. now i need to set permission to change the SELinux context for the entire directory .

Samba SELinux Add a comment
baseer
asked Oct 20 2017

Answer

0

use below command to set selinux context for samba directory

semanage fcontext -a -t samba_share_t  "/home/share(/.*)?"
restorecon -R -v /home/share
Add a comment
arunkumarak
asked Oct 20 2017
edited Oct 05 2018
Post your Answer