FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » What are correct file permissions for 3.04? (I have everything on 666/777, can't be right?)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Lockups with 500 error is caused by permissions [message #169214 is a reply to message #168975] Tue, 10 September 2013 12:40 Go to previous messageGo to previous message
naudefj is currently offline  naudefj   
Messages: 3771
Registered: December 2004
Karma:
Senior Member
Administrator
Core Developer
I've started to clean up this mess and would appreciate your input on the following:

I assume these are correct (from install.php) for OPEN/NON SECURED files & directories:
if (strncmp(PHP_SAPI, 'apache', 6)) {
	define('file_perms', 0644);
	define('dir_perms',  0755);
} else {
	define('file_perms', 0600);
	define('dir_perms',  0711);
}


Questions is, can we get away with tighter permissions. For example, 600 for files and 700 for directories?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem importing data before upgrading the forum (2.7.6->)
Next Topic: Maillist.php works from command line but not postfix pipe
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 20:37:04 GMT 2024

Total time taken to generate the page: 0.05013 seconds