Centos SetUpSamba wiki page
On 03/22/2012 11:08 PM, Trevor Hemsley wrote:
> Hi Timothy
> I was reading your page on setting up Samba on the CentOS wiki
> http://wiki.centos.org/HowTos/SetUpSamba and there is something that
> could be improved there. You use chcon to set up the SELinux contexts
> and this would be wiped out if a filesystem relabel is done. It would be
> better to use
> semanage fcontext -a -t samba_share_t '/mnt/data(/.*)?'
> restorecon -R /mnt/data
> as that not only sets the context now but also reapplies it if a file
> system relabel is done at some future point (and I believe that
> sometimes an update to the selinux-policy package will force one, though
> very rarely).
> Otherwise, good page, thanks!
Thank you for your suggestions. I've put in your recommended changes.
CentOS-docs mailing list
|All times are GMT. The time now is 06:20 PM.|
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.