File Permissions
Hi,
I recently asked X-Cart tech support for a complete and definitive list of file permissions for a live X-Cart store. This is the response below.
Quote:
All x-cart files should have 644 permissions and folders should have 755 permissions, apart from the exceptions below.
Exceptions
The following folders and all files in them should have 777 permissions:
.pgp
catalog
files
log
skin1
templates_c
How to set Permissions
If you have SSH access to your x-cart, you should run the following shell commands in order to set correct file permissions:
cd [xcart root directory]
find . -type d | xargs chmod 755
find . -type f | xargs chmod 644
chmod -R 777 .pgp catalog files log skin1 templates_c
If you are not going to edit x-cart templates with the Edit Templates page of X-Cart Admin Area or via Webmaster Mode, you may grant 755 permissions to the skin1 folder and 644 for all files in it.
If you not going to use HTML catalog feature, set file permission on the catalog folder to 755, and any files within to 644.
If your hosting provider uses suexec PHP binary (where all files are executed under your hosting account name and not as web user), then you should use the following commands:
cd [xcart root directory]
find . -type d | xargs chmod 750
find . -type f | xargs chmod 640
|
Hope this is useful to you.
sanj
__________________
X-Cart Gold 4.0.16, 4.0.17
X-AOM 4.0.16, 4.0.17
X-Affiliate 4.0.16, 4.0.17
|