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.
@routers: Thanks for the info. I will check soon, right now it is disabled in my linux box
@rewards: What did you do to make it work? In which directory you are trying to write files?
Thank you all. I can now download files and folders. But I cannot upload any file or folder yet. Do you know if I need to do something else?
if i not mistake, you mightbe attempting to upload file to the folder which is not own by you
because old default setting vsftpd , once you login its send you to the the main /
so follow this step, open /etc/vsftpd.conf and edit as following
Code:
chroot_local_user=YES
and restart vsftpd
Code:
/sbin/service vsftpd restart
let us know
Last edited by routers; 01-04-2011 at 06:20 AM.
Reason: extra
Do you have any idea why I can download but not upload files using FTP. The chmod numeric for the /var/www/html must be 404 for the code to work correctly. I cannot change this 404 number to like 777. Thank you
Do you have any idea why I can download but not upload files using FTP. The chmod numeric for the /var/www/html must be 404 for the code to work correctly. I cannot change this 404 number to like 777. Thank you
did you pay attention with my word "you mightbe attempting to upload file to the folder which is not own by you"
The folder permission was set to root rwx r x r x. I changed the owner to adminftp and now I can upload and download files. Thank you guys for all your help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.