By continuing your navigation on this site, you accept the use of cookies to offer you contents and adapted services. Legal Notice.
 
 
 
 
 
Sentence to think about :   Don't forget to protect the GuppY administration area with the "Admin protection" function.   
 
 
 
You are here :   Home » Rights (Chmod)
 
    Print this page...
    Print this section...
 

Rights (Chmod)

The most usual rule consists in chmoding the directories to 755 and files to 644.
More and more hosters will assign rights automatically.

These values are accurate in many cases, but have to be adapted according to the security policy of each hoster..

ATTENTION: You are to refer to your hoster's documentation in this respect.
 

For instance:

Folder and sub-folders data 777
Files data/* 666

Note :  /* means that all files of the directory must be chmoded as indicated.
Example :
Files data/* : rights = 666. UNIX command = chmod 666
                  data/* means all files in data directorymust e chmoded in en 666


How do you know that you must apply these "CHMOD" ?

When you get loads of error messages like the following, then you have to chmod::

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

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

     Warning: fopen("../data/logh.dtb", "w") - Read-only file system in functions.php on line xxx depending on the version.

     Warning: fputs(): supplied argument is not a valid File-Handle resource in functions.php on line xxx depending on the version.


Creation date : 26/04/2017 17:24
Category : - GuppY
Page read 25825 times