LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-29-2013, 12:13 AM   #1
thirstonlinux
Member
 
Registered: Jul 2011
Posts: 62

Rep: Reputation: Disabled
unable to upload as anonymous in FTP


I am having problem uploading a file from client localmachine to ftp server.

Here is the configuration I have done.

* Installed vsftpd
* Enabled vsftpd service
* Started vsftpd service
* Set SEBoolean for ftp_home_dir to 1 and allow_ftpd_anon_write to 1

In the /etc/vsftpd/vsftp.conf file
anonymous_enable=YES
local_enable=YES
write_enable=YES
anon_upload_enable=YES
tcp_wrappers=YES


In the server I logged into one user in ftp and I was able to upload and download data.

In the client I logged in as anonymous and I was able to download but not able to upload data.

Error: 553 Could not create file.
 
Old 03-29-2013, 01:52 AM   #2
eklavya
Member
 
Registered: Mar 2013
Posts: 619

Rep: Reputation: 136Reputation: 136
Are you sure the directory in which you are uploading data has enough permission?
I think you may not have write permissions on the remote system to upload in the directory.

You can not give write permission as anonymous.
First log in as a owner and give write permission to directory
Code:
# chmod -R 777 /path/of/dir
now Try to upload file as anonymous.

Last edited by eklavya; 03-29-2013 at 01:56 AM.
 
Old 03-29-2013, 01:56 AM   #3
mddnix
Member
 
Registered: Mar 2013
Distribution: Redhat, Ubuntu
Posts: 517

Rep: Reputation: 140Reputation: 140
Watch this. its just two and half minute video. everything u need is there.

Configuring FTP server anonymous upload in Linux
 
  


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
Unable to upload the file through secure FTP iamomin Linux - Kernel 6 04-28-2010 04:40 AM
Problem in anonymous ftp upload sunils1973 Linux - Server 1 07-02-2009 02:16 AM
Problems with anonymous login proftp 1.3.1: 530-Unable to set anonymous priviliges. gentooox Linux - Server 3 05-03-2009 02:46 PM
(FTP Server) Proftpd: 530-Unable to set anonymous privileges. noisebleed Linux - Networking 1 01-17-2008 11:38 AM
FTP Anonymous upload, what is the deal? musty Linux - Server 3 05-25-2007 04:32 PM


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