Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

i want to know how to set permissions to 777


Guest

Recommended Posts

Posted

Please could someone help with setting permissions.

the error message i get is -

 

Warning: I am able to write to the configuration file: /home/ukdiscos/public_html/ppds/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

i don't know how to access this file. (soz......but i'm not the brightest spark)

 

i use cPanel X as my server.

 

Any jargon free help would be much appreciated.

 

Thanks

Posted
Please could someone help with setting permissions.

the error message i get is -

 

Warning: I am able to write to the configuration file: /home/ukdiscos/public_html/ppds/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

i don't know how to access this file. (soz......but i'm not the brightest spark)

 

i use cPanel X as my server.

 

Any jargon free help would be much appreciated.

 

Thanks

 

 

 

Thanks DJ - I've now done that but when I go to my cart, it still says the same error message

Posted
Thanks DJ - I've now done that but when I go to my cart, it still says the same error message

 

Ouch!

 

There are subtle but vital differences in chmod'ing that close attention should be paid to.

 

Folders should typically be 755 and in somecases 777

 

when chmoding

 

chmod 755 ./folder

 

This will chmod the folder itself

 

chmod 755 ./folder/ <-- note the trailing slash

 

This sets all the contents of the folder /folder/ to 755 as well.

 

Files should always be 644 (rw-r--r-- Which means you can read and write and everyone else can just read)

 

Your configure.php should be 444 (r--r--r--), therefore nothing can write to it, not even you unless you change the permissions first. Once the configure.php has been setup correctly you should never need to touch it again, so chmod 444 should be used and forgotten about.

 

Now since you were using an FTP program, the worry of chmoding everything to 755 is most likely a mute subject.

My Contributions

 

Henry Smith

Posted

thanks for the info custodian.

 

I'm still really confused here. Would you or anybody be willing to take a look at it if I give access?

 

thanks in advance

Posted
it'll depend on your ftp program. You could check

http://support.discusware.com/center/resou...owto/chmod.html

 

i've got dreamweaver and use

 

inthe site FTP log

 

 

Sorry to bother dj, but I can't figure out how to set permissions with the dreamweaver. How do you do it? What is the "inthe site FTP log"?

 

If the dreamweaver is not right for this, is there any free software to do it in an easy way?

 

I'd really appreciate.

 

Thanks

Posted

Dreamweaver is a great bit of kit, but apparently it has some issues with FTP. I have never tried to use it for that so I wouldn't know.

 

I use FTP Surfer, which is simple and free. I'm not sure if I can post the link, being as I had a post removed because of it. Just Google it or Free FTP and you will get lots back. I also use Smart FTP, which again is free.

 

You should always use an FTP Client, to upload and change permissions. Not Dreamweaver!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...