LinuxQuestions.org
Visit Jeremy's Blog.
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 05-23-2003, 02:59 AM   #1
ka_alucard
LQ Newbie
 
Registered: May 2003
Distribution: Slackware 8.1
Posts: 8

Rep: Reputation: 0
proFTPD permissions messed


Hey... I messed up my /home permissions on slackware 8.1 and after that I haven't been able to send a file thru a ftp connection, it authenticates but everytime I try to send something sayss that I have permissions problem... but the /home/ftp dir is set to ftp:nogroup... anybody knows whats going on?

this is the error I get:
200 type set to I 200
PORT command succesfull
550 file.exe: Permission denied

but the permissions seem to be ok.. is it something with /home/ftp? but my users always log to their home dirs...

Last edited by ka_alucard; 05-23-2003 at 03:04 AM.
 
Old 05-23-2003, 03:08 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
So you are logging in as the ftp/anonymous user yeah? And you are trying to transfer a file to /home/ftp yeah? Are you allowed to write to this directory according to /etc/proftpd.conf? Also is /home/ftp atleast 700 yeah?

Jamie...
 
Old 05-23-2003, 03:34 AM   #3
ka_alucard
LQ Newbie
 
Registered: May 2003
Distribution: Slackware 8.1
Posts: 8

Original Poster
Rep: Reputation: 0
well, let me explain everything here; I use it mainly for users who log into their homedirs and afetr I messed up all the /home permissions they are not able to log in. I don't allow anonymous users and I'm just gessing about the /home/ftp permissions because everybody just logs into their homedir. My /home permissions are set to root.root 755 and everybody's homedir is set to 755 or 750 depending on the kind of user... and this is my /etc/proftpd.conf

ServerName "Alucard's Slackware 8.1 ProFTPd Server"
ServerType standalone
ServerType inetd
DefaultServer on

Port 21

Umask 022

MaxInstances 30

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

<Directory /*>
AllowOverwrite on
</Directory>

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>

I cand download but I'm not able to upload any file... Ive checked the permissions about a million times and I haven't been able to fix this... this is the first time i've ever configured s ftp server....

thanx for your help
Juan
 
Old 05-23-2003, 03:48 AM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Quote:
Originally posted by ka_alucard
ServerType standalone
ServerType inetd
Your server can't be standalone & inetd. Are you starting it from (x)inetd or do you have a proftpd server running all the time. If its running all the time then its "standalone" if its not then its "inetd".
Quote:
Originally posted by ka_alucard
<Limit WRITE>
DenyAll
</Limit>
You want to remove these lines and they are saying that you are not allowed to write anywhere, and make sure that you're not allowing anonymous logins, so long as "ftp" is listed in /etc/ftpusers you'll be fine.

HTH

Jamie...
 
Old 05-23-2003, 03:53 AM   #5
ka_alucard
LQ Newbie
 
Registered: May 2003
Distribution: Slackware 8.1
Posts: 8

Original Poster
Rep: Reputation: 0
Thanx a LOOOT!
Take care, Cya around...

Juan
 
  


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
I messed up with permissions mfrangos79 Linux - Security 4 07-20-2005 08:58 PM
messed up permissions Smokey Slackware 5 10-29-2004 12:17 PM
su permissions messed up ceph Linux - General 1 09-08-2004 11:54 PM
Messed up my permissions usercsr Slackware 7 07-08-2004 11:21 AM
I think I messed up my permissions... jeffreybluml Linux - Newbie 4 03-25-2004 06:12 PM

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

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