Sentence to think about :   GuppY ? There is there is less good but it is more expensive !   
You are here :   Home » Rights (Chmod)
 
Preview  Print...  Print this page...
Preview  Print...  Print this section...
Introduction
Technique
News of Friends
To contact us
Visits

 1885640 visitors

 30 visitors online

Calendar
rss This article is available in the standard RSS format for publication on your website :
http://guppy.cms/data/en-articles.xml

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 : 08/06/2015 09:06
Category : Technique - Secure your GuppY
Page read 56527 times

You are here :   Home » Rights (Chmod)
 
Preview  Print...  Print this page...
Preview  Print...  Print this section...
Preferences

Connect again :
Your user name :
Your password
DCMB
copy the code :


  Count of members 42 members
Connected :
(nobody)
Snif !!!
Newsletter
To receive news about this website, consider subscribing to our Newsletter.
DCMB
copy the code :
Subscriber
(nobody)
Snif !!!

Warning: Unknown: open(/var/www/sdb/f/1/euscalitches/sessions/sess_b0eb310115053d2e05bec78a903fcaad, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/sdb/f/1/euscalitches/sessions) in Unknown on line 0