LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 05-24-2007, 12:56 AM   #1
hosanna
LQ Newbie
 
Registered: May 2007
Posts: 2

Rep: Reputation: 0
i got a problem with vsftpd in F7, 500 OOPS: cannot change directory:/home/ftp-docs


i use vsftpd as my ftp server, following are some of my configuration
anonymous_enable=NO
local_enable=YES
write_enable=YES

[root@localhost ~]# groupadd ftp-users
[root@localhost ~]# useradd -g ftp-users -d /home/ftp-docs user1
[root@localhost ~]# passwd user1

[root@localhost ~]# mkdir /home/ftp-docs
[root@localhost ~]# chmod 750 /home/ftp-docs
#afterward, i change the file mode to 777, it also can not work properly
[root@localhost ~]# chown root:ftp-users /home/ftp-docs


192.168.1.219 is my local ip address
[root@localhost ~]# ftp 192.168.1.219
Connected to 192.168.1.219 (192.168.1.219).
220 Welcome! Tine.
Name (192.168.1.219:root): user1
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/home/ftp-docs
Login failed.
ftp>
 
Old 05-25-2007, 09:17 PM   #2
hosanna
LQ Newbie
 
Registered: May 2007
Posts: 2

Original Poster
Rep: Reputation: 0
i solved that problem by using that
/usr/sbin/setsebool -P ftp_home_dir 1
 
  


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
ftp 500 OOPS: cannot change directory yhus Linux - Networking 24 03-24-2013 09:41 PM
500 OOpS error w/ vsftpd 5amYan *BSD 5 11-08-2006 05:59 PM
VSFTPD > 500 OOPS: vsf_sysutil_bind Bobus Linux - Networking 0 07-27-2006 05:36 PM
Vsftpd - 500 OOPS: Cannot change directory amon Linux - Networking 3 05-31-2006 11:17 AM
VSFTPD with 500 oops :vsftpd: missing argv[0] mole_13 Linux - Newbie 0 05-04-2005 01:05 AM


All times are GMT -5. The time now is 02:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration