vsftpd cannot access home directories

Ryan Graham ryan.graham at gmail.com
Mon Oct 11 22:32:46 UTC 2004


What am I looking at here?

This is a mostly default install on FC2. There were some other changes
to vsftpd.conf, but they didnt seem relevant.

chroot_local_user=YES
pam_service_name=vsftpd
userlist_enable=YES
#enable for standalone mode
listen=YES
tcp_wrappers=YES

Response:	500 OOPS: cannot change directory:/home/media
Response:	500 OOPS: child died

audit(1097532459.593:0): avc:  denied  { getattr } for  pid=2281
exe=/usr/sbin/vsftpd path=/proc/2281/mounts dev= ino=149487632
scontext=system_u:system_r:ftpd_t tcontext=system_u:system_r:ftpd_t
tclass=file
audit(1097532459.653:0): avc:  denied  { search } for  pid=2285
exe=/usr/sbin/vsftpd name=media dev=hda2 ino=5210119
scontext=system_u:system_r:ftpd_t
tcontext=system_u:object_r:user_home_dir_t tclass=dir




More information about the fedora-selinux-list mailing list