Zen Cart Logo
Forums / Basic Configuration / How to set right user permisssons configure.php file?

How to set right user permisssons configure.php file?

Locked

Views: 14,287

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
13 May 2006, 2:41 PM
#1
ngocnguyen avatar

ngocnguyen

New Zenner

Join Date:
May 2006
Posts:
2
Plugin Contributions:
0

How to set right user permisssons configure.php file?

I installed Zen-cart. This site have a notice

Warning: I am able to write to the configuration file: f:/easyphp1-8/www/vnshop/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

but I don't know how to do this. Help me ...

Thank you.

13 May 2006, 2:45 PM
#2
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Re: How to set right user permisssons configure.php file?

Go to includes/configure.php and right click on it. Select properties and change it back to 444.

You could also do this in your CPanel using th file manager.

13 May 2006, 3:29 PM
#3
ngocnguyen avatar

ngocnguyen

New Zenner

Join Date:
May 2006
Posts:
2
Plugin Contributions:
0

Re: How to set right user permisssons configure.php file?

I used ftp soft to set right user permission but cannot change

Ipswitch WS_FTP Professional:
500 'SITE chmod 444
wwwroot/shop/includes/configure.php': command not understood

Total Commander:
cannot change attributes of remote files!

13 May 2006, 3:32 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: How to set right user permisssons configure.php file?

You can use 644 or 444 depending on your server ...

Also, depending on your server, you may or may not be allowed 444 via FTP and it has to be done through your Control Panel as your host may not have given you rights to your site via FTP ...

14 May 2006, 12:37 AM
#5
halbert avatar

halbert

New Zenner

Join Date:
Feb 2004
Location:
Vancouver, Canada
Posts:
13
Plugin Contributions:
0

Re: How to set right user permisssons configure.php file?

I'm having the same problem with a new install... set the permissions to 644 (I can't set 444 on this host) for the configure.php file but still getting the warning message at the top of the screen.

Anything else I need to check?

Thanks

-al

14 May 2006, 12:59 AM
#6
patj avatar

patj

New Zenner

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

Re: How to set right user permisssons configure.php file?

Use cPanel if you have it. The File Manager will allow you to set the right permissions. Can't help if your webhosting doesn't have cPanel..

17 May 2006, 3:34 PM
#7
smackjams avatar

smackjams

New Zenner

Join Date:
May 2006
Posts:
8
Plugin Contributions:
0

Re: How to set right user permisssons configure.php file?

I'm having the same problem at https://www.artielbooks.com/shop/.

I have re-set the permissions to 644 and am confident that that worked, but I'm still getting the error message at the top of my site.

I have just upgraded to v1.3.0.1.

Thanks.

17 May 2006, 3:39 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: How to set right user permisssons configure.php file?

Some sites will need to be set to 444 instead of 644 ...

Note: some servers will not allow this to be done via FTP and you will need to use your Control Panel for this ...

17 May 2006, 4:03 PM
#9
smackjams avatar

smackjams

New Zenner

Join Date:
May 2006
Posts:
8
Plugin Contributions:
0

Re: How to set right user permisssons configure.php file?

Sure enough.

thanks

20 May 2006, 10:34 PM
#10
thimker avatar

thimker

New Zenner

Join Date:
May 2006
Posts:
9
Plugin Contributions:
0

Re: How to set right user permisssons configure.php file?

I set both 644 and 444 via ftp, verified via cpanel, still get that ugly warning. I am one step from calling in another brand of cart.:P

20 May 2006, 10:47 PM
#11
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: How to set right user permisssons configure.php file?

ngocnguyen:

I installed Zen-cart. This site have a notice

Warning: I am able to write to the configuration file: f:/easyphp1-8/www/vnshop/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

but I don't know how to do this. Help me ...

Thank you.

Is this installed on your local PC?? reason I ask is that I noticed the f:/easyphp1-8

If thats the case and your running windows then just right click on the file click properties and make it read only.

28 May 2006, 4:34 PM
#12
halbert avatar

halbert

New Zenner

Join Date:
Feb 2004
Location:
Vancouver, Canada
Posts:
13
Plugin Contributions:
0

Re: How to set right user permisssons configure.php file?

Thanks for all the help, but I think the issue is a code-based one.

I have set my permissions to 644 as per the instructions - my host does not allow 444 setting - but I still get the red configuration error flag at the top of the screen.

You can see yourself at:
http://www.pandahealth.ca/zen/index.php

The /zen/includes/configure.php file has permissions 644 but the flag does not go away.

Any suggestions?

Thanks.

-al

28 May 2006, 6:10 PM
#13
cr33dog avatar

cr33dog

New Zenner

Join Date:
Dec 2005
Posts:
50
Plugin Contributions:
0

Re: How to set right user permisssons configure.php file?

Sounds like your host has set up of your riles read/write to apache?

If includes/configure.php is indeed 644, and your host will not allow 444(!) - then it appears that it is not possible to have any files appear as read-only to the web server.

That's a scary set-up! I only allow my web servers write access to a few areas....

Chris

29 May 2006, 4:40 AM
#14
barbara avatar

barbara

New Zenner

Join Date:
May 2006
Posts:
21
Plugin Contributions:
0

Re: How to set right user permisssons configure.php file?

I had this same problem ... and am new to ZC ... just installed today. I fixed it by going into my Cpanel and changing the codes. While I did change them via WSFTP, they didn't "take".

HTH

Barbara

18 Jul 2009, 3:02 PM
#15
thesacredoak avatar

thesacredoak

New Zenner

Join Date:
Jul 2009
Posts:
1
Plugin Contributions:
0

Re: How to set right user permisssons configure.php file?

Hi,
I am using GoDaddy as my host haven't had an issue with anything until Thursday the 18th.
I had set the permissions when I installed the cart and it worked fine until Thursday.
I tried using my FTP to change them and it wouldn't accept it.
I went into the C panel and the permission folder does not light up. I would like to get this fix and not sure what my next step should be. I have been e-mailing with my hosting company since Friday when the problem occur and they give me the same instructions ove and over again.
Is there a way to change the permissions in editing the file?
I even went and downloaded the same cart version
Zen Cart v1.3.8a/v1.3.8
to find this file and found it to be No where in the files listed. configure.php does not exist in the zip file I down loaded. At first I thought I did the wrong one and went back to re download but I found its the same. I know I am missing something but I am sure its not on my end.
I do realize many had issues with GoDaddy and I am not sure if its there end. I don't want to add in that code that gets rid of the message until I can explore all other options. before someone says change hosts I cant and I wont be able to until a year from now. I am not code savvy but I can find my away through things if given the right steps.
I have searched the FAQ and the forums and this is the closest to my situation. Again any help to any article that can explain further on what I can do would be great!
Thanks
Tonie