By continuing your navigation on this site, you accept the use of cookies to offer you contents and adapted services. Legal Notice.
 
 
 

GuppY Help Center, help online, documentation and tutorials

 

telecharger.png

 
 
You are here :   Welcome » Chmods: what values?
 
    Print this page...
    Print this section...
 

Chmods: what values?

Translation by Google - Update the current translation

Chmod GuppY version 5

The most common rule is to chmod the directories to 755 and files 644.
A practice increasingly common among hosts is to practice the allocation of rights automatically.

These values ​​are good in many cases but must be adapted according to the security policy of the host concerned.

CAUTION: It is imperative to refer to the documentation for your host about it.

Examples :

Folder and subfolders data 777

Files data/* 666

Note: / * means that all files in the directory should be as shown chmodes
example:
File data / * : rights = 666. UNIX command = chmod 666
data / * means all files in the data directory must be chmod 666


How to detect that you should execute these " CHMOD"?

When you get a string of error messages of this kind , you must chmod :

     
Warning: fopen ( "data / logh.dtb ", "w " ) - Permission denied in on line xxx http://www.mysite.com/inc/functions.php following versions

     
Warning : Supplied argument is not a valid File- Handle resource in http://www.mysite.com/inc/ functions.php on line xxx following versions

     
Warning: fopen ( " w" " / data / logh.dtb . . " ) - Read-only file system in functions.php on line xxx following versions

     
Warning: fputs (): Supplied argument is not a valid File- Handle resource in functions.php on line xxx following versions

 

  •     Root file / folder * 644 ( . Htaccess 444 possible)
  •         Folder and subfolders 755 admin
  •         Files admin / * 644 ( . Htaccess 444 possible)
  •         Folder and subfolders data 755
  •         Data files / * 644 (config / .htaccess 444 possible)
  •         Folder and subfolders documentation 755
  •         Documentation files / * 644
  •         Folder and subfolders file 755
  •         Files file / * 644
  •         Folder and subfolders flash 755
  •         Flash files / * 644
  •         Folder and subfolders img 755
  •         Img files / * 644
  •         Folder and subfolders Inc. 755
  •         Inc files / * 644
  •         Folder and subfolders mobile 755
  •         Mobile / * files 644
  •         Folder and subfolders 755 pages
  •         Files pages / 644 *
  •         Folder and subfolders picture 755
  •         Photo files / * 644
  •         Folder and subfolders plugins 755
  •         File plugins / 644 *
  •         Folder and subfolders save 755
  •         Files save / 644 *
  •         Folder and subfolders 755 skins
  •         Files skins / 644 *


Chmods these may vary according to the hosts. See FAQ thereof


For more details about CHMOD


Creation date : 05/03/2005 @ 23:03
Category : FAQ GuppY v 5 - Rights and Chmods
Page read 19012 times