FTP file permission problem...
Posted: Sun 26 Dec 2010 9:14 pm
Hi guys, its been a while since I was on here but I've just updated Cumulus to the latest build and everything broke... I lost all the web configuation of which files to upload to where so I've had to redo it all - no major problem... but...
It seems to be uploading all the files (I'm only uploading realtime.txt and two wind rose images) with '600' permissions (ie RW for the ftp user and nothing for anyone else) - which means my site (user:www-data - I'm using apache) can't extract the info from the realtime.txt file that it used to be able to. I don't remember this being a problem before - and I could possibly run a root cron job every couple of minutes to fix it... or there may be a simple fix I'm totally overlooking.
The site is www.nasebygold.co.nz/weather - its using PHP to explode the relatime.txt file and get the info it needs - or it was before this problem.
Any ideas? Am I doing something stupid that I just can't see because I've been staring at the problem too long?
Most likely...
Cheers
Steve
It seems to be uploading all the files (I'm only uploading realtime.txt and two wind rose images) with '600' permissions (ie RW for the ftp user and nothing for anyone else) - which means my site (user:www-data - I'm using apache) can't extract the info from the realtime.txt file that it used to be able to. I don't remember this being a problem before - and I could possibly run a root cron job every couple of minutes to fix it... or there may be a simple fix I'm totally overlooking.
The site is www.nasebygold.co.nz/weather - its using PHP to explode the relatime.txt file and get the info it needs - or it was before this problem.
Any ideas? Am I doing something stupid that I just can't see because I've been staring at the problem too long?
Cheers
Steve