SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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
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....
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.