Dave M G wrote:
> So, I was suprised when I created a little PHP script to test
> something, and when I viewed it through FireFox, it said there was a
> "permissions error".
> -rw------- 1 dave dave 20 2006-02-13 22:45
Of course you can't see it through Apache/PHP, since apache doesn't run
as "dave", it runs as "www-data".
> So I changed the properties with chmod 777 and the file opens fine.
You probably didn't want 777 (rwx for everyone), but 644 (rw for you and
read-only for your group and everyone, which would include www-data)
ubuntu-users mailing list