I'm having some difficulty setting up some file folder permissions and just need to check what I'm doing isn't dangerous or stupid!
We're on a dedicated virtual server, safe mode is off, no other sites on this server, Apache (some version) and PHP 5x. We're trying to write to a cache file but no matter what.. the only way I can do it is if I set the folder to be world writable!
Can anyone take a wild guess as to why this might be? and is it a security issue?
Our site files sit in a httpdocs folder, this is set to 750. I've kind of always assumed 777 was like leaving the door wide open. The Cache folder is owned by "ourusername" and the group is "psacln"<(--- not sure who that is, but it might be relevant.
I think it has something to do with what apache is running as...
Basically I'm just trying to work out whether to sweat a little or give our app 777 where it needs it, but I don't want to open up a security issue.
Thanks!
[edit]spelling[/edit]