LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-02-2004, 07:03 PM   #1
Vid
Member
 
Registered: Jan 2004
Distribution: Debian, FedoraC1, Slack 9.1, MDK 9.2/10.0
Posts: 55

Rep: Reputation: 15
Proftpd server configuration and permissions?!?!?


ok, im so close, and i apologize if this is a re-post.. but anyway, ive got proftpd up and running with a fairly default config file that i got off google and have edited alittle bit.

Right now its anynonomus login only and it seems that users can view and upload files, but when they try to download they get a permission denied.. i dont know if this is a chmod issue or what is causeing this but i dont really know enough about that config file and what i have to do to fix it. anyone got any ideas on what i might try next?
 
Old 02-02-2004, 07:25 PM   #2
Vid
Member
 
Registered: Jan 2004
Distribution: Debian, FedoraC1, Slack 9.1, MDK 9.2/10.0
Posts: 55

Original Poster
Rep: Reputation: 15
another thing, i just used 'chmod 777 ftpdirectory' to change the permissions of the directory in my server and same problem. i tried 'chmod -r 777 ftpdirectory' also but i got an error,, blargh,
 
Old 02-02-2004, 08:04 PM   #3
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
were you chmodding it as a user or as root? I think that is a bad idea, though, chmodding it like that. I think that also gives anonymous users permission to delete everything within your ftp directory. Instead, I'd do something like chmod 775. I log in as my user, and I don't have any problems with my standard cofiguration, though. I can download things fine, I havn't had a need to upload, although I'm pretty sure I could. Maybe it's because it's set, as you said, 'anonymous login only'. Maybe changing this setting would fix it (Please note that I havn't bothered messing with my proftpd config file, so I don't know what it looks like or where it's located.)
 
Old 02-02-2004, 08:34 PM   #4
Vid
Member
 
Registered: Jan 2004
Distribution: Debian, FedoraC1, Slack 9.1, MDK 9.2/10.0
Posts: 55

Original Poster
Rep: Reputation: 15
ill chmod to 775, i changed my config file, here it is....

ServerName "ProFTPd"
ServerType standalone
DefaultServer on
Port 21
ShowSymlinks off
MultilineRFC2228 on
AllowStoreRestart on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
ServerIdent on "FTP Server ready."
DefaultRoot ~ !staff
Umask 002
MaxInstances 30
User nobody
Group nogroup

# We want files to be overwriteable.
<Directory /home/ftp>
AllowOverwrite on
HideNoAccess on
</Directory>


now when i try to login it sais password required for anonymous login,, and i dont even remember setting a password nor do i see anything in this config file that has to do with that password..

and i also tried to make username required so that you couldnt just login with my IP only,, and i tried to do this by changing,

'User myftp
Group nogroup (i dont really know what this field means.'

but then when i tried to start proftpd it gives me a unknown user 'myftp' so i have to chanmge it back to nobody..

and the thing that frusturating is i can find lots of sample config files on the net, but none of these sites actually tell me what all these lines of code in the config file mean or do. and because of this, all i can do is guess and check...
 
Old 02-02-2004, 10:07 PM   #5
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
try changing your group to users or something. Maybe that'll work if you log in as a user account.
 
  


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
proftpd server configuration help on debian sridhar11 Debian 2 01-13-2006 09:01 AM
Proftpd user permissions powadha Linux - Software 1 09-21-2005 02:18 PM
Proftpd and file permissions jeucken Linux - Networking 3 06-19-2004 05:49 AM
proftpd permissions niehls Linux - Software 2 05-02-2003 03:33 PM
Proftpd Permissions Nephlite Linux - Networking 6 02-08-2002 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:26 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