Re: vsftp - selinux?

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

 



On 08/20/2009 01:29 PM, ann kok wrote:
Hi

I have problem using vsftp. I can login ftp but can't upload file
in the message log, there is

Aug 20 21:03:21 ftp kernel: type=1400 audit(1250773401.299:10): avc:  denied  { read } for  pid=31408 comm="vsftpd" name="pierre" dev=sda2 ino=933889 scontext=unconfined_u:system_r:ftpd_t:s0 tcontext=system_u:object_r:user_home_dir_t:s0 tclass=dir

I have to set selinux to disable

why? how can I fix it?

Thank you


       __________________________________________________________________
Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com


There is 'ftp_home_dir' boolean allowing to ftp server to read or write files in your home directory

# setsebool -P ftp_home_dir on

Also you can check 'ftpd_selinux' manpage to help you.

Regards,
Miroslav

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux