icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Shared Hosting » chmod not sticking via ftp

Shared Hosting Questions about your shared hosting account.

Reply
 
LinkBack Thread Tools Search this Thread
Old October 7th, 2007, 6:33 PM   #1 (permalink)
Registered User
Seasoned Poster
 
Joined in Mar 2007
Lives in England!
Hosted on SH122/sh137
96 posts
Gave thanks: 3
Thanked 2 times
chmod not sticking via ftp

I've just been messing around with Zencart via fantistico (seeing if i want to use it for my site) and for some reason when I change the chmod of the config file in ftp its not sticking and it keeps reseting itself to what it was before I changed it, im thinking this maybe something to do with the cpanel upgrade as when I changed the chmods before the new cpanel was installed there was no problems

any help is appriciated though regarding this
Spikey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 7th, 2007, 7:25 PM   #2 (permalink)
Web Hosting Super Ninj4
Super #1
 
miakeru's Avatar
 
Joined in Sep 2003
Lives in Fullerton, CA
1,581 posts
Gave thanks: 0
Thanked 2 times
Maybe the permissions are set up incorrectly on your files, preventing you from changing the settings. You should test to see if this might be an issue with your FTP software by trying to CHMOD the files through the cPanel file manager. You can do this by selecting the file in the file manager, and clicking the 'Change Permissions' link that appears in the selections on the right-hand side of the file manager.

If that change sticks, it may be an issue with the way your FTP client is trying to modify the permissions. What client are you using? Are you sure the changes are going through in the first place? No errors listed in the status window? Have you verified that the permissions were actually changed by trying to modify them again immediately after modifying them via FTP?
miakeru is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 7th, 2007, 11:00 PM   #3 (permalink)
Registered User
Seasoned Poster
 
Joined in Mar 2007
Lives in England!
Hosted on SH122/sh137
96 posts
Gave thanks: 3
Thanked 2 times
Quote:
Originally Posted by miakeru View Post
Maybe the permissions are set up incorrectly on your files, preventing you from changing the settings. You should test to see if this might be an issue with your FTP software by trying to CHMOD the files through the cPanel file manager. You can do this by selecting the file in the file manager, and clicking the 'Change Permissions' link that appears in the selections on the right-hand side of the file manager.

If that change sticks, it may be an issue with the way your FTP client is trying to modify the permissions. What client are you using? Are you sure the changes are going through in the first place? No errors listed in the status window? Have you verified that the permissions were actually changed by trying to modify them again immediately after modifying them via FTP?
I've just tried it in the file manager too and it too is not sticking regarding the CHMOD changes maybe this is a job for support???

oh and im using CuteFTP for ftp and no errors as far as I can see

thanks for the help

edit - ive just tried to CHMOD a different file and again it does not stick so im thinking that there is defiently something wrong with it

also I tried to install OS Commerce but I got this - Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory. so my Question is can I change that setting and if so where is the file/how do I change it I looked in the Catalog directory well tried to but there was no such directory I could use OS Commerce before the new cpanel software so im wondering whats up with it now??? again any help is appriciated regarding this

Last edited by Spikey; October 7th, 2007 at 11:04 PM..
Spikey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 8th, 2007, 8:23 AM   #4 (permalink)
Web Hosting Super Ninj4
Super #1
 
miakeru's Avatar
 
Joined in Sep 2003
Lives in Fullerton, CA
1,581 posts
Gave thanks: 0
Thanked 2 times
Quote:
Originally Posted by Spikey View Post
I've just tried it in the file manager too and it too is not sticking regarding the CHMOD changes maybe this is a job for support???
Yes, I'd definitely go ahead and file a ticket. You can do this at any time through their helpdesk here:

https://desk.surpasshosting.com/


It sounds like your file's ownership permissions are a bit mucked.

Quote:
Originally Posted by Spikey View Post
also I tried to install OS Commerce but I got this - Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory. so my Question is can I change that setting and if so where is the file/how do I change it I looked in the Catalog directory well tried to but there was no such directory I could use OS Commerce before the new cpanel software so im wondering whats up with it now??? again any help is appriciated regarding this
Unfortunately it looks like osCommerce requires that register_globals be disabled but Surpass has it enabled for some reason.

You can try getting around this by creating a .htaccess file in the 'public_html' directory (or other appropriate directory) for your domain and placing the following inside of it:

Code:
php_flag register_globals off
miakeru is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 8th, 2007, 8:29 AM   #5 (permalink)
Registered User
Comfy Contributor
 
nathon's Avatar
 
Joined in Sep 2007
Lives in ~root
111 posts
Gave thanks: 1
Thanked 12 times
What are you trying to change the permissions to?

You are most likely on a phpsuexec box and trying to change the permissions to 777 or something like that. This will be restricted and support will have to do this for you. It is extremely rare to need 777 perms on a phpsuexec box.
__________________
I'm proud to say I never have and never will use vista
nathon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 8th, 2007, 12:52 PM   #6 (permalink)
Registered User
Seasoned Poster
 
Joined in Mar 2007
Lives in England!
Hosted on SH122/sh137
96 posts
Gave thanks: 3
Thanked 2 times
Thanks miakeru;

I'll open a support ticket later today about it and thanks for the info abt what to put in the .htaccess file

nathon, I was trying to change the CHMOD from 644 to 444 but like I said in my origional post none of my CHMOD's are sticking anymore so im gonna ask support via a ticket to see if they can help
Spikey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may 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