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.
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.
Hello all,
I am trying to just share a directory in my filesystem with read/write access via ftp so I can use it in Dreamweaver. I have read through all the posts on ProFTPd, and I see posts on how to set up ANONYMOUS FTP and users' home directory, but that doesn't help me.
I want to serve the folder /usr/share/custom so I can FTP in as root and have read/write permssions to all files in that directory and subdirectories. I am running RedHat 9 and a simple firewall. If someone can help me set this up--whether it is through editing the directives in proftpd.conf or adding an ftp user (not sure how to do either of these), I would greatly appreciate it. Thanks a lot!
Using ftp you should be able to login as a user (created for your machine, ie. make a user named something like ftpuser on your machine --the one running the ftp server-- then you can log into the server using that user, it should automatically take you to that users home directory), however I believe that root has been disabled for login using ftp, probably for good reason. You could set up a user for your computer who has read/write access to the directory you want, then login as that user.
Hello,
I tried to do what you said and create a user "custom" with the home directory /usr/share/custom. What happens in my FTP client when I try to connect is that it just hangs there as if the server is behind a firewall and the client is being blocked. I triple checked my firewall, and I have all incoming connections allowed on ports 20 and 21. Are there any other ports I need to open up on the server's firewall, or is this not a firewall-related problem? Thanks!
The problem was that it was timing out and wouldn't even connect at all. I have found a solution, and I am a moron. Turns out that in addition to a hardware firewall (Linksys router) there was a software firewall running also that I didn't account for. I opened the port on that firewall and it works like a charm. I know it is not the most secure solution, but I added an <anonymous /usr/share/custom> directive, and limited it so only root could access it. It works like a charm. I appreciate everyone's quick resonses and dilligence.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.