I am trying to configure my Centos 5.6 server. I've got apache up and running and want to be able to upload files via FTP.
I have installed vsftp.
I could login using my username and see the contents of the directory, but I couldn't actually upload any files to the directory.
In a tutorial on the Centos site, it recommended changing the settings of the web directory (in my case /var/www/html) as follows:
chown -R apache:myusername /var/www/html chmod 460 /var/www/html chmod g+S /var/www/html
Now I can't even get access to that directory with my username which is odd beause I thought the
chown -R apache:myusername /var/www/html line would mean that I had permission.
Be grateful for any help as to how to go aout sorting this out.
I haven't touched the default vsftpd.conf file. I have enabled FTP in the firewall configuration. vsftpd service has been started.