[CentOS] vsftpd failing since upgrade to 4.2
scott.list at mlec.net
Wed Oct 26 01:32:48 UTC 2005
----- Original Message -----
From: "Matt Arnilo S. Baluyos (Mailing Lists)"
To: "CentOS mailing list" <centos at centos.org>
Sent: Monday, October 24, 2005 6:56 PM
Subject: Re: [CentOS] vsftpd failing since upgrade to 4.2
On 10/25/05, scott wrote:
> Matt & Joe. Permissions appeared OK. I ever tried making the files 777
> just to test, no luck. I uninstalled (yum remove) and reinstalled vsftpd.
> It did not change the files ownership or permission as far as I see, but
> it's working (again).
It's great that your system's working again.
I'm really suspecting that it was your SELinux permissions that were
messed up that time. SELinux puts additional access controls on your
files, so even if you did chmod your files to 777, it may still
disallow your from accessing it (even if you are root).
To determine if it's SELinux, what you do is just do a tail -f on
/var/log/messages and if you're getting "AVC Denied" errors, that's
SELinux preventing you. If you want to view the SELinux context of
your files, what you do is to just put a -Z flag on your ls -l. To
change the permissions, use the chcon utility.
I looked in my syslogs, no sign of any AVC messages at all. I did look in
syslog when I was experiencing the problem, nada.
I thought I had SELinux turned off, but now I don't know <smile>.
More information about the CentOS