PDA

View Full Version : Where to learn about setting write permissions (444, 777, etc)


Manuel
06-24-2006, 01:32 AM
Hello.
I'm new to this PHP stuff. Need support. In install txt, it says that I need to make all /templates , files writable ??Is it 777, or just writable to admin ??? The same for the files concerning the Googles sitemaps, writable is for admin alone ( what permission ?? 777,755 or what.
With what I edit templates ?? With what I edit or create .css ?? Text editor ??
Last install page tells me to delete , install/install/index.php and change permission to install/install/config.php. There is no folder 2 times like that ( install/install ) Installation is setting the directory with no tittle or description. I want to put a background image to all pages, and logo plus better fonts.

Boby
06-24-2006, 02:47 AM
Hello!

If you want to edit your template files from the admin panel you have to give writing permissions to the user your webserver is running under. 777 permission gives read+write+execute to everyone. Contact your webserver admin for more informations. We don't know, and we shouldn't know what's the config of your server.
Same thing with the sitemap files. You can give them 777 permissions, create the sitemap and then set back to 755 or 775.

To protect best your template files, you should edit them with an editor, than upload them with *no* writing permission. You can also edit them via admin panel but this needs writing permissions. The files are protected from the .htaccess file rules, but it's better to add one more protection and not allow writing.

Have you installed your directory in a folder called "install" ? This is the only explanation why it is showing "install/install/". These two errors are security measures. For the installation you need writing permissions to include/config.php, you should set them back to 755 or 775. Another thing is to not allow anyone else to re-install the script. It is protected by admin user+password, but deleting it adds some more security. Just delete install/index.php from the folder where you installed your directory.

To put a background image, font's and all these settings I'd suggest you take a look at your CSS file. It's the easyest and best method. If you don't know how ask someone who knows, this is an individual configuration.

Hope everything or most questions are now answered.
Boby