file permisions

Locked

Started by tenerifetom on 20 Mar 2010, 4:39 PM · Views: 2,522

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
20 Mar 2010, 4:39 PM
#1
tenerifetom avatar

tenerifetom

New Zenner

Join Date:
Dec 2004
Posts:
69
Plugin Contributions:
0

file permisions

I set the site up and changed the config permisions and all was ok no warning messages. I was working on the site yesterday and ftped some zen folders since then i get the write warning for the config file I have chmod in cpanel and spoke to the hosting comp and they insist that the permisions are set at 644

20 Mar 2010, 9:25 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: file permisions

i get the write warning for the config file I have chmod in cpanel and spoke to the hosting comp and they insist that the permisions are set at 644
Depending upon server configuration - this might need to be set to 444

Zen-Venom Get Bitten

20 Mar 2010, 10:09 PM
#3
tenerifetom avatar

tenerifetom

New Zenner

Join Date:
Dec 2004
Posts:
69
Plugin Contributions:
0

Re: file permisions

thanks but i have tryed that any help would be good other wise i will have to try a reinstall as i do not know what to do

20 Mar 2010, 10:14 PM
#4
jetx avatar

jetx

Zen Follower

Join Date:
Apr 2006
Posts:
425
Plugin Contributions:
0

Re: file permisions

You did this for both config files?

20 Mar 2010, 10:33 PM
#5
tenerifetom avatar

tenerifetom

New Zenner

Join Date:
Dec 2004
Posts:
69
Plugin Contributions:
0

Re: file permisions

both files are chmod 444 I am pulling my hair out with this one as the host says i have definitely got the file rights to change permissions

20 Mar 2010, 10:37 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: file permisions

both files are chmod 444 I am pulling my hair out with this one as the host says i have definitely got the file rights to change permissions
Where is your site where we can see it?

Might need to clear your browser cache??

Zen-Venom Get Bitten

20 Mar 2010, 10:43 PM
#7
tenerifetom avatar

tenerifetom

New Zenner

Join Date:
Dec 2004
Posts:
69
Plugin Contributions:
0

Re: file permisions

http://www.tackleexpress.co.uk thanks i have no catch problems as a freind on another pc gets the warning

21 Mar 2010, 12:02 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: file permisions

This is fully a file permission issue
Have your host set it to 444 for these 2 files

Zen-Venom Get Bitten

21 Mar 2010, 5:08 PM
#9
asab avatar

asab

New Zenner

Join Date:
Mar 2010
Location:
Bedford, UK
Posts:
1
Plugin Contributions:
0

Re: file permisions

Hi. New user here so be gentle! Just thought I might jump in here as I have a related problem with a new install.

Running on a Linux server all has gone OK but when I go to the shop page I get the warning the OP describes. Both config files are showing as 644 which I understand should be acceptable - the host sets it to 644 even if I select 444 but the Zen instal notes suggest 644 should be ok.

Cashe has been cleared.

Same message in other browsers.

Any ideas?

Cheers
Andy

21 Mar 2010, 5:11 PM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: file permisions

asab.

Same solution

This is fully a file permission issue
Have your host set it to 444 for these 2 files

Zen-Venom Get Bitten

21 Mar 2010, 5:12 PM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: file permisions

Many hosts prevent FTP programs from setting files lower than 644, but that still leaves the file writable.
So, you need to use the host's control panel file manager to set the permissions lower.
That's all described in this FAQ article: https://www.zen-cart.com/tutorials/index.php?article=9

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

6 Apr 2010, 5:49 AM
#12
andoverit avatar

andoverit

New Zenner

Join Date:
Feb 2009
Posts:
32
Plugin Contributions:
0

Re: file permisions

I am having an issue with a site that is switching the file permission of /includes/configure.php to CHMOD 600

Even had my hosting company on to it and they are at a loss as to why we switch to either 444 or 644 and within minutes it's back to 600.

6 Apr 2010, 1:24 PM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: file permisions

Unless you've added some code to do it, Zen Cart DOES NOT change permissions on files to 600.
Best to work with your hosting company to figure out what's causing the change, and/or inspect your Zen Cart files for alterations you've made/added since the original files were obtained.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.