Even though I've been building sites and writing scripts for a few years now, I still don't fully understand file permissions.
I had a quick search on these forums and didn't find any topics on this subject so here goes ...
One of the best tutorials I have found is here:
But what I still don't get is what it means to allow write access or execution access for "world" users.
Like how would anyone write to a file on your server that supposedly allows them to?
And I think that the "world execution" permission is needed where somebody browses your site and a script writes to a file to say record their IP.
I use Host Gator where it seems to be safe even to set a file permission to 777. So how would some external person exploit this?
So hopefully some of you Linux pros can clarify this a bit, so me and others finally get it?