carpman
July 10th, 2009, 12:02 PM
Hello, i am running this on test to see what it is like and created test website, i noticed that i have logged in as root to unzip files as the webftp baulked on this.
So file and dir with root ownership is not good so what to set them as?
Have tried vsftpd www-data which is what parent dir is.
I added my user to group www-data and then tried setting file permission to allow writing of from group so i could use sftp.
Thing now site is not accessible at all :(
So who should own dir and files?
should it be the account under which domain was created?
cheers
So file and dir with root ownership is not good so what to set them as?
Have tried vsftpd www-data which is what parent dir is.
I added my user to group www-data and then tried setting file permission to allow writing of from group so i could use sftp.
Thing now site is not accessible at all :(
So who should own dir and files?
should it be the account under which domain was created?
cheers