Sharing files between services and SELinux
RedHat has a really useful guide for sharing files/directories between services (e.g. Apache and Samba).
n<p> nAlthough not the most secure way of doing things, I’ve gotten fed up/annoyed enough times having to scp files and use command line text editors to update this site to go ahead and implement it to allow me to use graphical editors on other workstations on the network. I’ve ensured that the pfsense firewall blocks external smb access and iptables will only accept connections on a specific set of subnets.</p> n<p> nHere’s the article. I basically followed it verbatim, although I used the samba configuration parameters “force user” and “force group” to ensure the correct user was being used to allow me to write to the actual files. n</p>