Difference between revisions of "LiteCommerce:Which are the correct permissions?"

From X-Cart 4 Classic
Jump to: navigation, search
(Created page with 'LiteCommerce should have writable permissions mode on the following files and directories: skins/ classes/modules/ var/ catalog/ images/ files/ LICENSE cart.html Just right aft…')
 
Line 1: Line 1:
 
LiteCommerce should have writable permissions mode on the following files and directories:
 
LiteCommerce should have writable permissions mode on the following files and directories:
  
 +
<pre>
 
skins/
 
skins/
 
classes/modules/
 
classes/modules/
Line 9: Line 10:
 
LICENSE
 
LICENSE
 
cart.html
 
cart.html
 +
</pre>
  
 
Just right after the installation, all permissions modes and ownerships on all files and directories should be correct.
 
Just right after the installation, all permissions modes and ownerships on all files and directories should be correct.
 
But, if the store was transferred to another web server or restored from a backup, it could have wrong permissions modes or ownership on the mentioned above files and directories.
 
But, if the store was transferred to another web server or restored from a backup, it could have wrong permissions modes or ownership on the mentioned above files and directories.
 +
 
If PHP on your web server works in the CGI/FastCGI mode, the 755 on directories and 644 on files permissions modes are sufficient for the store work.
 
If PHP on your web server works in the CGI/FastCGI mode, the 755 on directories and 644 on files permissions modes are sufficient for the store work.
 
But, if PHP on your web server works as an Apache module, ownership on these files and directories should be changed to a web user. Or, if it is impossible, the permissions mode should be set to 777 on directories and 666 on files.
 
But, if PHP on your web server works as an Apache module, ownership on these files and directories should be changed to a web user. Or, if it is impossible, the permissions mode should be set to 777 on directories and 666 on files.

Revision as of 23:06, 24 December 2009

LiteCommerce should have writable permissions mode on the following files and directories:

skins/
classes/modules/
var/
catalog/
images/
files/
LICENSE
cart.html

Just right after the installation, all permissions modes and ownerships on all files and directories should be correct. But, if the store was transferred to another web server or restored from a backup, it could have wrong permissions modes or ownership on the mentioned above files and directories.

If PHP on your web server works in the CGI/FastCGI mode, the 755 on directories and 644 on files permissions modes are sufficient for the store work. But, if PHP on your web server works as an Apache module, ownership on these files and directories should be changed to a web user. Or, if it is impossible, the permissions mode should be set to 777 on directories and 666 on files. All this is related to a Unix-based web server. If a web server works under Windows, the permissions and ownerships can be set via Windows facilities.