jdiehl |
08-02-2006 01:43 PM |
You may want to research how your webserver works as well. For example on some servers the owner of all the files is the same as the user that controls apache. So basically any commands run by a web interface such as editing these template files will only need writable permissions for that same user, not globally. Which means 777 might not be necessary.
I know that on our servers setting it to a chmod of 744 for the files or a 755 for the directory would be adequate since the first number sets permissions for the user, the second for the group, and the third for global. This way general population would not have access to those files. Then you wouldn't have to worry about changing things back and forth.
P.S. If you ever have the caching of files turned on, you may notice that changes take awhile to show up, as the cached template has to expire before the new one is loaded. But that only affects the customers view and not the view of the file itself from the edit console.
|