Samba on CentOS
Amit Nepal
amit at amitnepal.com
Tue Feb 19 11:54:45 MST 2013
Run this command to see if selinux is running : getenforce
If you see permissive , then you should be fine, if you see the output
to be enforcing , then set it to permissive, without having to restart :
setenforce permissive
If this solves the problem, then yes it was selinux, however the above
settings is temporary and for next reboot you will have to edit :
/etc/sysconfig/selinux and set the selinux to permissive from enforcing.
This way you don't have to reboot machine to have selinux change applied.
Thanks
*Amit K Nepal
Infrastructure Engineer (RHCE)
omNovia Technologies Inc. <http://www.omnovia.com>
Amit K Nepal <http://www.amitnepal.com>
<http://www.amitnepal.com>*
On 2/19/2013 11:21 AM, Eric Cope wrote:
> Hi all,
> I am trying to get Samba to installed on a CentOS 6.2 machine. I have
> read-only access working, but when I try to make edits to files, it
> claims I don't have permissions. I copied my smb.conf file from
> another machine that had things working, so the conf file should be good.
>
> I read some online about SELinux settings. I tried setting a few, but
> it had no change. Does anyone have any ideas?
>
> Thanks,
> Eric
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20130219/d4dc1b76/attachment.html>
More information about the PLUG-discuss
mailing list