Link to home
Start Free TrialLog in
Avatar of tknofile
tknofile

asked on

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?
Avatar of elpmet
elpmet

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.
Avatar of tknofile

ASKER

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.
I am not certain of this, but I believe that ftpd does not allow write access through an anonymous user.
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
bad guess, SkAtAn :) and yes, there is a "allow" directive (at least for wuftpd) to configure upload, and wonder how it is called..... UPLOAD!!
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.
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.
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).
ASKER CERTIFIED SOLUTION
Avatar of pops120297
pops120297

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial