osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Permissioning Issue on Fresh Install - MS2MAX

This is a discussion on Permissioning Issue on Fresh Install - MS2MAX within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hi, I have just finished an install of ms2-max using the oscdox guide. I used CuteFTP to upload my files. ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 10-09-2003, 09:33 PM
Lurker
 
Join Date: Aug 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
akamaddisk
Default Permissioning Issue on Fresh Install - MS2MAX

Hi, I have just finished an install of ms2-max using the oscdox guide. I used CuteFTP to upload my files. I set the permissions for /catalog/includes/configure.php and catalog/admin/includes/configure.php to 777 through SSH using Putty.exe for the installation. At the end of the installation did a "chmod -v 644 configure.php" to change the permissioning and it all looks good (configure.php' changed to 0644 (rw-r--r--)). But everytime I hit my /catalog/index.php, I would still get:

Warning: I am able to write to the configuration file: /homepages/11/xxxxxxxx/htdocs/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

What gives? Does anyone have any ideas? I checked through FP and SSH and the permissioning on both configure.php's looks correct. Why am I still getting this?

Help is much appreciated, Thanks..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 10-10-2003, 04:47 AM
Anonymous
Guest
 
Posts: n/a
Default

This suggestion was taken from another board. I have used it and it worked for me.
Quote:
Create a file called protect.php with the following contents:

code:--------------------------------------------------------------------------------
<?php
chmod('includes/configure.php', 0444);
?>
--------------------------------------------------------------------------------

Upload it to your catalog folder and then in a browser open protect.php on your site. It will set the protection. The only alternative seems to be to ask PowWeb support to set it for you.

I suggest also uploading this to your admin folder and opening that too. Once you have done this, you can delete the protect.php files.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 10-10-2003, 05:40 AM
Lurker
 
Join Date: Aug 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
akamaddisk
Default

Thanks, I have just tried your suggestion but it didn't seem to work. I actually changed it to chmod('includes/configure.php', 0644); because wouldn't 444 pervent configure.php from being altered or deleted in the future even by the owner?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 10-10-2003, 08:37 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,083
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Try it a 444. That may be your issue. Different servers have different requirements. If 0644 doesnt work, get more restrictive. Since you already have osCommerce configured, there is no need for anyone to be able to edit it. It is easy enough to chmod it back to less restrictive permissions later...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Fresh Install = meta_tags.php error Lobotaman osCMax v2 Installation issues 2 09-18-2005 03:50 PM
Fresh install... trench osCMax v2 Installation issues 2 07-31-2005 10:18 PM
Fresh Install Ms2-Max Installation Error edwardbob osCMax v1.7 Installation 4 05-28-2005 03:35 PM
Fresh Install..... ProjectShadow osCMax v1.7 Installation 8 10-18-2004 03:54 AM
Fresh install error Anonymous osCMax v1.7 Installation 2 02-10-2004 07:38 AM


All times are GMT -8. The time now is 11:53 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax