I have trouble editing files with FTP which are uploaded via a website.
I have this AVC Denied,
- Code: Select all
type=AVC msg=audit(1376403738.939:176742): avc: denied { write } for pid=10360 comm="in.proftpd" name="Share.php" dev=dm-0 ino=1703113 scontext=system_u:system_r:ftpd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:httpd_sys_rw_content_t:s0 tclass=file
- Code: Select all
module lclftp 1.0;
require {
type ftpd_t;
type httpd_sys_rw_content_t;
class file write;
}
#============= ftpd_t ==============
#!!!! This avc can be allowed using the boolean 'allow_ftpd_full_access'
allow ftpd_t httpd_sys_rw_content_t:file write;
I just want to know how safe it is allow "allow_ftpd_full_access" boolean on the server.
Any help?