FTP Server on Ubuntu?

Lyerae

I keep popping up on this site from time to time.
Reaction score
105
Edit 4: Okay! How can I add a user to vsftpd, make them able to access their home directory, and [ljass]/var/www[/ljass], and give them full permissions for those folders? Running [ljass]chown -R username directory[/ljass] seems to break PHP, so that doesn't work.

OS is Ubuntu 10.10 SE, running a LAMP stack, OpenSSH, and vsftpd.
 

GetTriggerUnit-

DogEntrepreneur
Reaction score
129
You should change your www folder to a place where you have the rights.

Code:
sudo gedit /etc/lamp/apache/httpd.conf // path is probably different but you get the idea.

Change the path in the apache configuration file to something like /home/MyWebSite/www

I think that's the best option.
 

Lyerae

I keep popping up on this site from time to time.
Reaction score
105
It's working now. It seems it was an issue with the permissions of the folder. I had to run [ljass]chmod -R 777 /var/www[/ljass] the folder, and then set my umask in the config to 022 to make the files uploaded executable by default (for PHP).
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top