LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-18-2004, 11:20 PM   #1
mindfestival
Member
 
Registered: Mar 2004
Posts: 47

Rep: Reputation: 15
vsftpd problems with .conf and uploading. pulling my hair out!


hello everybody,
i have finally managed to set up my own ftp server as a fairly new linux user. i am running vsftpd.

I starting by following a tutorial, and setting up anonymous access, but am having trouble uploading files to the pub directory despite the vsftpd.conf alterations i have made. the useful bits are as follows:

anonymous_enable=YES
local_enable=YES
write_enable=YES
anon_upload_enable=YES

ok. so i created the upload/download directory as pub. and set the permissions :
chmod a+rwx pub
(i do realise the big security issues that this poses, but at the moment it is only on my small little LAN, and i just want to get this working! )

Now, in theory, the anonymous user can log in, examine and modify the contents of the directory pub, and upload to that directoy, yet when i hop on my windows machine, log in as anonymous, i am unable to upload..!
I am sure this is only a simple little problem, and any help would be greatly appreciated.

obviously one confused newbie,

mindfestival.
 
Old 06-18-2004, 11:47 PM   #2
heathpitts
Member
 
Registered: Feb 2003
Location: Florence, AL
Distribution: Debian
Posts: 157

Rep: Reputation: 30
Make sure that the username anonymous has rw access to the pub directory. If I read your post correctly, this may be the problem that you are having.
 
Old 06-19-2004, 12:06 AM   #3
mindfestival
Member
 
Registered: Mar 2004
Posts: 47

Original Poster
Rep: Reputation: 15
ok, i dont want this to sound dumb.... although...

how do i set permissions for an individual user?
with chown a+rwx doesnt 'all' entail all users automatically?
 
Old 06-19-2004, 09:50 AM   #4
heathpitts
Member
 
Registered: Feb 2003
Location: Florence, AL
Distribution: Debian
Posts: 157

Rep: Reputation: 30
Here is a good page outlining the correct ways to set permissions:

http://www.comptechdoc.org/os/linux/..._ugfilesp.html

As for the a+rwx command, as in the above tutorial, I have always used chmod ugo+rwx <filename> to set a directory for full access to all users. I really am not the one to be giving a tutorial on permissions i'm afraid. However issuing chmod 666 <wherever pub is located> would give you rw access to the directory.
 
Old 06-21-2004, 07:06 AM   #5
mindfestival
Member
 
Registered: Mar 2004
Posts: 47

Original Poster
Rep: Reputation: 15
Hello, sorry about the delay,
hrrmmm, strangley enough giving full access to /var/ftp/pub hasn't fixed it...
Also i am now getting a strange error message on connection attemps

$ftp localhost
Connected to localhost (127.0.0.1)
500 OOPS: Could not bind listening socket
 
Old 06-22-2004, 04:26 PM   #6
Doomhammer
Member
 
Registered: Oct 2003
Location: Montreal Qc, Canada
Posts: 105

Rep: Reputation: 15
I have the same error message... i dont know how to fix this
 
Old 06-27-2004, 12:58 PM   #7
heathpitts
Member
 
Registered: Feb 2003
Location: Florence, AL
Distribution: Debian
Posts: 157

Rep: Reputation: 30
Sorry I haven't replied lately,I just got back from vacation. I will try to set this up tomorrow when I get into the office and see if I get the same error. Maybe we can work this out.
 
  


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
Pulling my hair out with Ath0 FXRS Linux - Networking 3 09-23-2004 06:39 PM
I'm pulling my hair out here.. Emanon247 Linux - Newbie 3 07-20-2004 02:17 PM
Kodak dc215 digital camera, latest gphoto. hair-pulling problems! mindfestival Linux - Hardware 1 04-24-2004 07:50 PM
Pulling out hair again... Ludacris Linux - Networking 8 12-22-2002 02:21 AM
URghh!!! pulling out hair! Ůmegaflops Linux - Newbie 4 05-28-2002 05:26 AM


All times are GMT -5. The time now is 05:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration