Re: ProFTPD not showing all directorys.

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

 



On Sun, 2005-12-18 at 01:32 +0100, Mark Evers wrote:
> Well, SELinux handed me another problem, i've been reading into the
> http://fedora.redhat.com/docs/selinux-faq-fc3/ hoping i would get my
> answer,
> without luck.
>  
> The problem is, when i connect to my FC4's Proftpd server i'm missing
> alot of directorys and files, and they do excist, i checked using SSH
> At first i could only see the "homes" directory, then i tried
> a fixfiles relabel, it brought back some dir's, but not the ones that
> are most important like public_html.
> Then i tried to disable SELinux to see if it's really SELinux related,
> and like magic, there are the missing dir's.
>  
> What i want, but can't find is a way for users to have full access to
> there home dir, they are chrooted so they can't look "beyond" there
> own home dir, and still use SELinux.

Have a look at "man ftpd_selinux"; you'll probably find the following
helps:

# setsebool -P ftp_home_dir 

and if you're running proftpd as a daemon rather than from xinetd (which
is probably the case):

# setsebool -P ftpd_is_daemon 1

Paul.


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

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux