FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS Docs

LinkBack Thread Tools
Old 03-23-2012, 02:22 AM
Timothy Lee
Default Centos SetUpSamba wiki page

Dear Trevor,

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

Thread Tools

All times are GMT. The time now is 09:44 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org