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

Re: Samba access for public_html.



Christofer C. Bell wrote:
I'd like to be able to drag and drop files in ~/public_html on my FC4
machine running the stock targetted policy with Samba.  I'm unable to
see that public_html even exists when browsing my share, let alone
manipulate files.  Here's the avc log:

type=AVC msg=audit(1140775433.847:9264): avc:  denied  { getattr } for
 pid=30827 comm="smbd" name="public_html" dev=md0 ino=8375104
scontext=system_u:system_r:smbd_t
tcontext=user_u:object_r:httpd_sys_content_t tclass=dir

Is there an boolean that can be set or is this a job for audit2allow? Thank you very much!

Try:

$ chcon -R -t public_content_rw_t ~/public_html
$ setsebool -P allow_smb_anon_write 1

See: man samba_selinux

Paul.


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