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.
I have just set up my first linux box and now want to configure an FTP server to allow me to connect as my user account and subsequently upload files to /var/www/html. Everything is working fine, execpt for where i can upload.
I have tried vsftp and, now, pure-ftp. I simply want the user to be able to upload files to the wwwroot directory.
Right now, I can only upload files to my user home directory.
Permissions are set to 775, with my user group as the owner in the /var/www/html dir.
I am about 2 days odl to linux and am now guessing that I must be missing someting.
Again, FTP connections work fine. I can even upload to my home dir. But, now I want to upload to other places. How do I do that?
There maybe better solutions out there, but I have a suggestion that may work for you. Why not create a user whos home dir is /var/www/html and has write permissions to that directory. Vsftpd will automatically chroot that user to /var/www/html when they login (if you have allowed chrooting in the config file).
But, I now want to take it one step further. This linux box is simply a dev box sitting in an isolated environment. After I work all day, I am in no mood to sit in front of some box and mess around with it.
Instead, I would simply like to lay on my couch with my laptop (w/wireless connection to my home network) and monkey around with the linux server from there.
I discovered Putty, which is assists me in doing some of the things I am doing. But, I would like to be able to use FTP do download/upload config files (those in /etc) and other files.
On our Solaris boxes at work, all users have a Home Directory and many admins can FTP to and from nearly the entire file structure. This is what I am trying to replicate on my home box.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.