Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I've installed wu-ftpd (version wu-2.6.2) on a computer that's running Debian Linux (Sarge). I can ftp files from my Win 98 computer to the Linux machine, but I cannot change the file permissions. Using two different ftp clients, I get the same error message 502 CHMOD command not implemented.
I have edited the ftpaccess file so that it contains the line:
chmod yes guest,real
Any idea what I'm doing wrong? I am not logging in anonymously. I noticed in a README file that "additional" commands need to be included in the /bin/ftp-exec directory. Is chmod an "additional" command? And I am sure that I am editing the correct ftpaccess file, because I changed the banner line and my change took effect when I restarted the linux machine.
Thanks for any ideas.
I am really having a tough time figuring this problem out. Is there a chance that the wu-ftpd Debian package just doesn't support the chmod command? Or could I have installed the package such that the chmod command cannot be enabled?
I never figured out how to enable chmod, but I did find a solution to my basic problem. I was able to use the upload command in the ftpaccess file. The upload command allows me to set the file permissions of any file that is uploaded by a particular user (or group of users) to a particular directory. So, as long as I want all the files that I upload into the same directory to have the same permissions, this command works for me.
I was wrong. The upload command in the ftpaccess file did not work for me. I am trying to put a program in the cgi-bin directory and I cannot give the program execute permission. I think there is something basic about file permissions or security that I do not understand. I have found another workaround: I set up a Telnet server on the machine I am uploading files to. I can successfully chmod the file using Telnet. Is there anybody out there with a better solution?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.