Re: Samba vs. Firewall and/or SELinux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



-----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-----
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux