Re: Samba on CentOS

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Amit Nepal
Date:  
To: plug-discuss
Subject: Re: Samba on CentOS
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 -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss