LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-12-2006, 02:41 PM   #1
alfredofernandeza
LQ Newbie
 
Registered: Oct 2006
Distribution: Fedora Core 5
Posts: 23

Rep: Reputation: 15
can't get vsftpd to work properly


I have vsftpd running in a Fedora Core 5 system. I can't get users to login to /home/javier because I get the following error message:

500 OOPS: cannot change directory:/home/javier

The group owner for /home/javier is javier and users belong to this group. The file permissions for /home/javier are: drwxrwx---

Next I show my full vsftpd.conf file:

anonymous_enable=NO
local_enable=YES
write_enable=NO
local_umask=022
chroot_local_user=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
pam_service_name=vsftpd
listen=YES
tcp_wrappers=YES

Any ideas?

Thank you,
Alfredo Fernández
 
Old 12-12-2006, 04:35 PM   #2
i_grok
Member
 
Registered: Jun 2006
Location: Massachusetts
Distribution: Gentoo
Posts: 79

Rep: Reputation: 16
Have you tried to make /home/javier have more permissions just to see if it works?

Use:
Code:
chmod 775 /home/javier
If this works then you know that vsftp is using a user that doesn't have permissions. If it doesn't work, you're having some problem other than user permissions.
 
Old 12-12-2006, 11:27 PM   #3
alfredofernandeza
LQ Newbie
 
Registered: Oct 2006
Distribution: Fedora Core 5
Posts: 23

Original Poster
Rep: Reputation: 15
I've tested what you said and file permissions is not the problem. Actually, I've done some more research on the web and found the problem. I had to modify one of SELinux policies with the following command. I hope this solution helps others.

setsebool -P ftp_home_dir=1

Thank you,

Alfredo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CP command doesn't work properly? itz2000 Linux - Newbie 1 08-02-2005 01:14 PM
mysqladmin doesn't work properly Dark Severance Red Hat 0 04-21-2005 09:55 AM
startx doesn't work properly Ungluun Debian 9 07-13-2004 07:25 AM
gpm don't work properly Duukkis Linux - Software 3 03-21-2004 09:58 AM
Getting apt-get to work properly pwaring Debian 15 12-12-2003 04:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration