Ive finally got apache all working, but whenever a file is put in the htdocs directory via ftp or locally, it gets owner root, group root. And i get file forbidden errors accessing the file from the net. If i chmod the file to 777 it works fine, or set the group manually to nobody/nogroup. But i always have to do it manually.
Ive set the parent folder up with 777, nobody/nogroup but all files within the htdocs folder are inaccessible from the net unless each one is chmod manually.
What am i doing wrong here
EDIT: ive just checked and i think this is an ftp problem, when a file is upload via ftp it is given permissions Forbidden by group & public. Its vsftpd, any ideas?