LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-04-2007, 03:46 PM   #1
nkd
Member
 
Registered: Oct 2006
Location: india
Distribution: fedora 8, ubuntu 10.10
Posts: 318

Rep: Reputation: 34
vsftpd upload problem in RH


hi all,
I have installed vsftpd and have started the server .
I have created a subdir upload in /var/ftp/pub/upload.
The file permissions on dirs are :
/var/ftp & /var/ftp/pub - 775
/var/ftp/pub/upload - 773


I have entered the following directives in vsftpd.conf file :
anonymous_enable=YES
write_enable=YES
local_umask=0022
anon_umask=0007
file_open_mode=0777
anon_upload_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
ls_recurse_enable=YES


I have restarted vsftpd to ensure that the .conf file has been read.
But when I login as anonymous and do a put after changing to the /pub/upload dir, I get a permission denied message.
What am I doing wrong ?!?!?
Thanks in advance
nishith
 
Old 10-05-2007, 11:44 AM   #2
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
Ownership

Look at who owns the upload directories and whether the persons who will be logging in are in the upload directories' owner's group. I don't know that is your problem, but that is what stood out from your problem description.
 
Old 10-05-2007, 11:06 PM   #3
nkd
Member
 
Registered: Oct 2006
Location: india
Distribution: fedora 8, ubuntu 10.10
Posts: 318

Original Poster
Rep: Reputation: 34
thanks for your response,
But I am missing something maybe ? I have set the permissions on upload dir to 773 which gives write and execute permissions for everyone ( i.e all) .
Should the owner matter now ?
Also I have set the parent dirs to 775 and hence allowed read and execute permissions to all
Any thing wrong with that ?
nishith
 
  


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
vsftpd non-annoy ftp cannot upload, mkdir problem sleepyhomme Linux - Server 2 04-29-2007 12:39 PM
vsftpd upload problem jhod22 Linux - Software 0 04-15-2006 09:38 AM
vsftpd problems: cannot upload ricky_ds Linux - Software 1 08-22-2005 04:37 AM
VSFTPd upload permissions critical Linux - Software 3 08-03-2005 03:03 AM
VSFTPD - can download but cant upload. Dirt Linux - Software 1 09-06-2003 09:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:09 AM.

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