Linux - SoftwareThis 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.
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.
I need to set up an ftp site to allow various users to read, write and delete files and directories. Basically it is a big file sharing area. (legal uses... we own the copyright of the files...)
The users are using a variety of platforms, so ftp and web-browser access has been chosen. We've got the firewall only allowing access from certain IPs and users at those IPs log in as anonymous. That part works fine.
I've got vsftpd installed and running on an FC3 computer. I've got permissions problems with several of the operations, such as uploading a file or folder, deleting files and rewriting files.
I'm confused about the permissions and settings that should be used with vsftp. Who/what should the owner and permission of the "pub" directory ? What user and permission does an anonymous user have ? What group does it belong to ?
You could Chmod the directory, "PUB"
chgrp ftp pub
(/\ /\ changes group associated w/ the ftp directory)
chmod -R u=rwx, o-rwx, pub
(/\ /\ Change the read, write, and execute files permissions)
and you create users using the command:
useradd -m -d /home/bradr
(change the bradr to whatever you want as the user name and whatever for the password)
then, enable local user logins in here, if your doing this over a local network
the line should be somthing like: local_enable=YES
if its set to no, and if it has a # before it, change those.
if you have any more questrions, or i wasnt clear enough, go ahead and post back here, ill check back, thanks