View Single Post
Old 01-20-2014, 01:46 PM   #10
baf
Evangelist
baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.
 
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
Quote:
Originally Posted by mzmm View Post
@baf, thanks, turns out this was the issue. i'll have to read up more on chown to get more comfortable with it, everything i'd come across in cursory google searches was about how people mangled their sites by messing with the permissions.
Great that you managed to solve it.
Remember that 777 permissions are good for testing. In real environment you should be careful about granting permissions to everybody, especially rights to write to some folder or execute a file. Limiting it to the web server (or fastcgi) owner and particular location should be enough.
Also look carefully at stuff that users upload to your server. Don't let them execute anything nasty
baf is offline   Reply With Quote