[CentOS] Samba vs. Firewall and/or SELinux
Daniel J Walsh
dwalsh at redhat.com
Thu Dec 27 17:16:14 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/27/2012 10:26 AM, Ibrahim Yurtseven wrote:
> Daniel J Walsh wrote:
>> You did run restorecon on /data? restorecon -R -v /data
> No, only on /data/public
>
> sh-4.1$ restorecon -R -v /data restorecon: unable to read directory /data
>
Run the restorecon command as root.
> I configured my smb with this (german) tutorial:
> http://www.gtkdb.de/index_7_1356.html
>
> But i tried to configure a writeable access to guests, so i didn't add a
> new user in samba and run chown to nobody:nobody instead of root:users and
> chmod to ogu+rwx!
>
Not a great idea since every user will be allowed to read/write/execute in
this directory.
>> Does it work in permissive mode?
> Just tested with "enforcing". Should i switch to permissive mode?
>
I would just check if it works in permissive mode then we can blame this on
SELinux, if not, then it is not SELinux problem.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iEYEARECAAYFAlDcgl4ACgkQrlYvE4MpobOcSQCdFIKpd0eeRqe3eNbzyZBP9lke
eccAn1q79BQWQdaXgrM59QULcGnAwOH/
=DT/n
-----END PGP SIGNATURE-----
More information about the CentOS
mailing list