LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-17-2005, 06:31 PM   #1
kaireapr
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
Question vsftpd (w/ Fedora Core 4) File Write Problems


Hello.

I recently installed Fedora Core 4 with its server packages. I'm using vsftpd (which was installed with the FC4 distro) in attempt to set up a properly working FTP server. Here's what I've done:

(1) configured /etc/vsftpd/vsftpd.conf to denyi anonymous access, but allow local users to log in
(2) created a user "michaelgubbels" with home dir /home/michaelgubbels
(3) restarted vsftpd

I can log in successfully but when trying to create a directory or upload files I get an error message stating "550 Create directory operation failed."

Any ideas? I would appreciate help greatly on this issue.

Thanks.
 
Old 07-18-2005, 01:30 PM   #2
hlyrad
Member
 
Registered: Jul 2005
Location: Ab Ca
Distribution: Redhat EL Sun Mac OSX FC 3.0 & 4.0
Posts: 44

Rep: Reputation: 15
More details are needed.
What client are you using?
What logging mode is enabled?
Post your vsftpd.conf
 
Old 07-19-2005, 10:03 AM   #3
gnorman
LQ Newbie
 
Registered: Jul 2005
Distribution: Fedora Core 3
Posts: 4

Rep: Reputation: 0
When you first load the directory, do you start in /home/michaelgubbels?
or more like / or somewhere else? You might be trying to write to a directory other than michaelgubbels's which would cause permission issues.

If you can see the whole server when you should only see the users directory (when logged in as the user), you might want to check into the chroot options in the conf. file as well.
 
Old 08-06-2005, 04:17 PM   #4
snoek
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
I've got exactly the same problem with vsftpd on Fedora Core 4

I've opened a Terminal window on the ftp server itself so there can't be any firewall issues

the user I'm using is oracle and his home is /home/oracle - I've set vstpd.conf to write_enable=YES and local_enable=YES

when I ftp and log in as oracle my path becomes "/home/oracle" as expected. I can "ls" and "get" successfully but as soon as I try to do a "put" or "mput" I get a 553 error. If I try to do a "mkdir" then I get a 550 error

I have set /home/oracle permissions to rwx for user group and other

I have no idea what else to try - can anyone please help!!

thanks very much
 
Old 08-06-2005, 11:09 PM   #5
hlyrad
Member
 
Registered: Jul 2005
Location: Ab Ca
Distribution: Redhat EL Sun Mac OSX FC 3.0 & 4.0
Posts: 44

Rep: Reputation: 15
Check your log files. Also post your vsftpd.conf
 
Old 08-09-2005, 07:57 AM   #6
gnorman
LQ Newbie
 
Registered: Jul 2005
Distribution: Fedora Core 3
Posts: 4

Rep: Reputation: 0
snoek-
check who owns the files that are in that home directory..

ls-la /home/oracle in a terminal window

example would be:

[root@LDC1 ~]# ls -la /home/admin
total 48
drwxr-xr-x 6 admin admin 4096 Aug 8 08:38 .
drwxr-xr-x 10 root root 4096 Aug 8 18:10 ..
-rw-r--r-- 1 admin admin 24 Aug 8 08:38 .bash_logout
-rw-r--r-- 1 admin admin 191 Aug 8 08:38 .bash_profile
-rw-r--r-- 1 admin admin 124 Aug 8 08:38 .bashrc
drwxr-xr-x 2 admin admin 4096 Aug 8 08:38 cgi-bin
-rw-r--r-- 1 admin admin 120 Aug 8 08:38 .gtkrc
drwxr-xr-x 2 admin admin 4096 Aug 8 08:38 homes
drwxr-xr-x 2 admin admin 4096 Aug 8 08:38 logs
drwxr-xr-x 3 admin admin 4096 Aug 8 08:38 public_html
-rw-r--r-- 1 admin admin 658 Aug 8 08:38 .zshrc

Make sure the owners match for user/group.
In my example admin is owner and also group

IF these aren't Oracle in your case, you will want to
chmod <files> oracle
chgrp <files> oracle

Could be way off but thats what I would check out!~
 
Old 08-11-2005, 04:57 PM   #7
yvesg
Member
 
Registered: May 2004
Distribution: SuSe v9.3 Professional
Posts: 33

Rep: Reputation: 15
I've got exactly the same problem here...

Since I've upgraded to FC4 nothing but problems

A. My tty's wont do it anymore
B. Samba is working against me
C. VSFTPD is totally out of control

D. I think I'm gooing to downgrad to FC3
 
Old 09-02-2005, 06:52 AM   #8
uhuu
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Rep: Reputation: 0
Same problem here, vsftpd worked in FC3, but not in FC4 ('550 errors' when uploading files).
Has anyone got it working in FC4?

Thanks.

PS going to look bug reports about vsftpd in FC4.
 
Old 09-05-2005, 05:37 PM   #9
digity
Member
 
Registered: Apr 2005
Posts: 105

Rep: Reputation: 15
i've also been having the same 550 and 553 error messages when uploading files and folders to my FC4 system. I'm using the default settings/vsftpd.conf file. strange cuz the default settings in FC3 worked from jumped.

any ideas???
 
Old 09-06-2005, 05:18 PM   #10
yvesg
Member
 
Registered: May 2004
Distribution: SuSe v9.3 Professional
Posts: 33

Rep: Reputation: 15
Since Fedora uses a kind of 'tripwire' system to prevent some files from beeing changed, this is enabled by default in FC4.
You need to disable this security setting, and everything should work. (At least it dit overhere, but now I'm running on SuSe9.3).
I believe it's somwhere with the firewall settings. (During installation you'll be prompted for this setting)
 
Old 09-07-2005, 04:06 AM   #11
uhuu
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Rep: Reputation: 0
I got my vsftpd working by:
1) disabled selinux (from system tools -> security level)
2) restored the default vsftpd.conf (asked from a friend)

Now all uploads and features work as expected.
 
Old 09-07-2005, 05:20 PM   #12
digity
Member
 
Registered: Apr 2005
Posts: 105

Rep: Reputation: 15
worked like a charm. thanx
 
Old 09-07-2005, 06:21 PM   #13
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Wouldn't a better solution be to edit the SELinux settings so the specific users, groups, etc. have permissions to the specific areas they need to access. By disabling SELinux, you've (potentially) opened the door to your system fairly wide.
 
Old 09-09-2005, 03:18 AM   #14
uhuu
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Rep: Reputation: 0
Found a solution that does not require disabling the whole selinux:
http://www.fedoraforum.org/forum/sho...316#post321485
 
Old 09-29-2005, 11:17 PM   #15
James_Ecker
LQ Newbie
 
Registered: Mar 2004
Posts: 9

Rep: Reputation: 0
Has anyone found a solution to the SELinux VSFTPd context problem?
 
  


Reply



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
problems reading iso fedora core 4 file from cd/hard drive tencan Fedora - Installation 6 10-31-2005 02:50 PM
[Fedora Core 3]Poor write performance with raid controller TomG22 Linux - Hardware 1 09-22-2005 09:25 AM
VSFTPD - Seting up virtual folder and users on Fedora Core 2 tosheeba Linux - Networking 2 10-18-2004 04:04 PM
Cannot write to fat32 partitions on Fedora Core 1 Salad Shooter Linux - Hardware 3 08-31-2004 01:34 PM
Problems with a .bin file, trying to install starOffice, Fedora Core 1 velibos Linux - Newbie 3 03-16-2004 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:40 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