Re: quick howto for ftpd?

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

 



Dan wrote:
...
Do you have selinux enabled? selinux could be stopping proftpd from accessing directory listings and accessing files.
...

Gack. Right, of course.

Google found me this:

$ man ftpd_selinux

where it tells me this:

 setsebool -P ftp_home_dir 1

 ftpd  can  run  either  as a standalone daemon or as part of the xinetd
 domain.  If you want  to  run  ftpd  as  a  daemon  you  must  set  the
 ftpd_is_daemon boolean.

 setsebool -P ftpd_is_daemon 1
 service vsftpd restart
 ...

which gives me this:
# setsebool -P ftp_home_dir 1
# setsebool -P ftpd_is_daemon 1
libsemanage.dbase_llist_set: record not found in the database
libsemanage.dbase_llist_set: could not set record value
Could not change boolean ftpd_is_daemon
Could not change policy booleans

But apparently that doesn't matter because proftpd works now, but pure-ftpd is still not cooperating.

Thanks!

<Joe

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

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

  Powered by Linux