Changes

Jump to navigation Jump to search
Line 10: Line 10:     
==Web server==
 
==Web server==
On the web server there are two users who need to write to files: you (meaning the FTP process such as Filezilla, or shell user) and the process that runs PHP. Usually these are the same (the SuExec facility in Apache insures this) but they can be different.
+
On the web server there are two users who need to write to files: you (meaning the FTP process such as Filezilla, or shell user) and the process that runs PHP. Usually these are the same (the SuExec facility in Apache ensures this) but they can be different.
    
However TNG support may involve another user on the same server being able to write to some files, such as those in the config directory. In this case, the files in question need to be 664 and the person in the same group.
 
However TNG support may involve another user on the same server being able to write to some files, such as those in the config directory. In this case, the files in question need to be 664 and the person in the same group.
Line 17: Line 17:  
:chmod -R 664 .
 
:chmod -R 664 .
 
issued in the main TNG directory. However on Mac OS X this will also affect the directories, removing the x bit and making them unusable. On the Mac the correct command is
 
issued in the main TNG directory. However on Mac OS X this will also affect the directories, removing the x bit and making them unusable. On the Mac the correct command is
:chmod -R ug+rwX, o+rX, o-w .
+
:chmod -R ug+rwX,o+rX,o-w .
 
Here the capital X ensures the x bit is unchanged. (If you do this from a shell, it's worth making an alias, without the final dot, to remember this.)
 
Here the capital X ensures the x bit is unchanged. (If you do this from a shell, it's worth making an alias, without the final dot, to remember this.)
  
'''Experienced'''
731

edits

Navigation menu