Zen Cart Logo
Forums / General Questions / Warning permissions configuration file

Warning permissions configuration file

Views: 572

Results 1 to 4 of 4
30 Oct 2011, 9:10 AM
#1
kobra8 avatar

kobra8

Zen Follower

Join Date:
Mar 2009
Location:
Serbia
Posts:
350
Plugin Contributions:
0

Warning permissions configuration file

Hi zc user, I have ZenCart shop and I have to change configuration file to changed something and always happens when I access the site, warning that in this file can be write.

'' Warning: I am able to write to the configuration file: /home23/kavanali/public_html/zencart/includes/configure.php. This is a potential security risk - please set the right user permissions on this file (read-only, CHMOD 644 or 444 are typical). You may need to use your webhost control panel/file-manager to change the permissions effectively. Contact your webhost for assistance.''

On server is configuration.php 644 and still it show warning! I change in 444 byt it stay on 644!
Can somebody explain to me why it's happening and how I can do to resolve that.

:no:

http://kavanali.com

Thanks

30 Oct 2011, 1:38 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Warning permissions configuration file

On many servers, if you need to change it to 444 you will need to go into your Control Panel such as cPanel and change it in the File Manger ...

NOTE: when updating a file with permissions of 444, you must change it to something like 644 to allow you to overwrite it then change it back to 444 when done ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

30 Oct 2011, 1:43 PM
#3
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Warning permissions configuration file

And it may help if you set permissions to the right file. You are talking about the configuration.php, but it should be configure.php

'' Warning: I am able to write to the configuration file: /home23/kavanali/public_html/zencart/includes/configure.php. This is a potential security risk - please set the right user permissions on this file (read-only, CHMOD 644 or 444 are typical). You may need to use your webhost control panel/file-manager to change the permissions effectively. Contact your webhost for assistance.''

On server is configuration.php 644 and still it show warning! I change in 444 byt it stay on 644!
Can somebody explain to me why it's happening and how I can do to resolve that.