• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 317
  • Last Modified:

anonymous ftp server access-can't "put"

I am setting up an anonymous ftp server on my linux box. Everything works great except I can't upload to the ~ftp/incoming folder. I have double checked ownership on all associated directories and files and set all permissions according to the docs I have referenced. All of the folders on the ~ftp hierarchy contain the necessary libraries and passwd/group files. Is there a ftpd allow (or something similar)file that I'm missing?
0
tknofile
Asked:
tknofile
1 Solution
 
elpmetCommented:
So you've changed the permission by typing "chmod 777 ftp/incoming" under root login name (or username under which the ftp server is running), right?

Double-check the mode by "ls -l" for that directory to see if it really has a write permission.

Elpmet.
0
 
tknofileAuthor Commented:
Yes. Checked permissions and even did a token chmod 777 on that folder before I posted. It's gotta be some secret config file that no one wants to talk about.
0
 
foxrCommented:
I am not certain of this, but I believe that ftpd does not allow write access through an anonymous user.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
SkAtAnCommented:
Just a guess ...

useradd anonymous
vi /etc/passwd
change the line for anonymous in
anonymous::0:0:anonymous login:/a_path:/bin/bash
chmod 777 /path/of/incoming
0
 
gunny051499Commented:
bad guess, SkAtAn :) and yes, there is a "allow" directive (at least for wuftpd) to configure upload, and wonder how it is called..... UPLOAD!!
0
 
tknofileAuthor Commented:
Gunny- If the "allow" directive (upload) of which you speak is in the /etc/ftpaccess file- I got it. Have double checked it. If there is another instance of this, let me know.
0
 
tknofileAuthor Commented:
Gunny- If the "allow" directive (upload) of which you speak is in the /etc/ftpaccess file- I got it. Have double checked it. If there is another instance of this, let me know.
0
 
gunny051499Commented:
sorry, this should be all you need.

please post your ftpaccess file (and of course make sure you use the right ftp-daemon which reads this file).
0
 
pops120297Commented:
Had the SAME exact problem till I realized that the "owner" of the files and directories in ~ftp was root.  When I changed this to the user "nobody" which is what the ftpserver ran as everything was fine.  NOTE: It didn't matter that I made the permissions 777 or anything.  It still didn't work in my case.  See if that works.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now