LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-22-2004, 02:34 PM   #1
HailKingPhil
LQ Newbie
 
Registered: Aug 2004
Posts: 7

Rep: Reputation: 0
proftpd permission problems


Im trying to set up an ftp server on my linux box running slack 9.1, with a 2.6.8.1 kernel. When I connect from another linux box, it seems to work fine, and I can transfer files with no problem. However, from windows, I can connect, but cannot transfer any files. I continually get the message "Permission Denied" for any file with whatever local permissions in any directory. Also, I am unable to login as root, it just wont take the password, is this just some sort of thing where I cant login as root to an ftp server? Here's the text of proftpd.conf, in case that helps. Thanks.

ServerName "ProFTPD Default Installation"
ServerType standalone
#ServerType inetd
DefaultServer on

Port 21
Umask 022

MaxInstances 30
# Set the user and group that the server normally runs at.
User nouser
Group nogroup

# This next option is required for NIS or NIS+ to work properly:
#PersistentPasswd off

SystemLog /var/log/proftpd.log
TransferLog /var/log/xferlog

# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
</Directory>

# A basic anonymous FTP server configuration.
# To enable this, remove the user ftp from /etc/ftpusers.
<Anonymous ~ftp>
RequireValidShell off
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 50

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message

# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>

# An upload directory that allows storing files but not retrieving
# or creating directories.
# <Directory incoming/*>
# <Limit READ>
# DenyAll
# </Limit>
#
# <Limit STOR>
# AllowAll
# </Limit>
# </Directory>

</Anonymous>
 
Old 11-22-2004, 06:50 PM   #2
neilman
Member
 
Registered: Oct 2004
Location: Northville, MI
Distribution: Slackware
Posts: 65

Rep: Reputation: 15
Well, you can't login as root because you have a file called /etc/ftpusers, which is a userlist of all forbidden userids to login via FTP.

As for your Windows file xfer problem -- are you using the EXACT SAME username and password when you're logging in from your other Linux box?
 
Old 11-23-2004, 12:32 AM   #3
HailKingPhil
LQ Newbie
 
Registered: Aug 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for pointing out the ftpusers file. Yes, I'm using the exact same user and pass for the windows computer as for the linux one, and theres no case-sensitive issues. I did manage to get a connection and successfully transfer files with my friend's laptop (Windows XP) hooked onto my LAN. However, the transfer was slow, ~2 kb/s, and the files were corrupted when they came out on the other end. The files were just MP3s, and when I played them on his computer they were a garbled mess of noise. Still no luck from a foreign computer just over the internet though.
 
  


Reply



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 problems soulwatcher1974 Linux - Software 4 06-04-2005 10:01 PM
weired ProFtpd error: 550 Overwrite permission denied !! apache Linux - Software 1 07-23-2004 06:21 AM
ProFTPD permission problems Slacker0815 Linux - Networking 0 07-17-2004 06:06 PM
Proftpd Problems themark Linux - Networking 1 09-30-2003 01:50 PM
Questions about Proftpd permission settings? gsmonk Linux - Networking 1 08-12-2003 10:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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