|
|
#1 (permalink) |
|
Insanely
Super #1
Joined in Jul 2005
Lives in Northwest USA
4,154 posts
Gave thanks: 39
Thanked 78 times
|
Is there a script or tool that will automate the change of your scripts from 777 to 755?
For if you have several scripts running say for example forum, blog, gallery and so forth that has many files/folders set to 777 it would be a pain to go in and change them from 777 to 755 yourself if it is not one small and single script. It seems if there is no such script or tool to make the change existing customers who get changed to or move to a server with PHPsuexec could face many issues. So is there something in place with Surpass to make such a change easier?
__________________
![]() |
|
|
|
|
|
#2 (permalink) |
|
Surpass Fan
Comfy Contributor
Joined in Feb 2006
120 posts
Gave thanks: 0
Thanked 2 times
|
use this at ur own risk!
upload it and run it from browser... upload suggestion: /public_html/cgi-bin when done delete or rename the file it so u wont have strangers looking at it ![]() |
|
|
|
| This user thanks Makis for this great post! | Skipdawg (October 19th, 2006) |
|
|
#3 (permalink) |
|
Insanely
Super #1
Joined in Jul 2005
Lives in Northwest USA
4,154 posts
Gave thanks: 39
Thanked 78 times
|
I'm assuming this auto changes the chmods from 777 to 755 on a file and folder? If so I'll give it a test run on the folder my test forum is in later.
Googling did not render much information. so must be uncharted waters. ![]()
__________________
![]() |
|
|
|
|
|
#4 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
934 posts
Gave thanks: 2
Thanked 94 times
|
More risky than uncharted. Make a backup first.
__________________
Where would you be if you were at the highest court in the land (US)? |
|
|
|
|
|
#5 (permalink) |
|
Surpass Fan
Comfy Contributor
Joined in Feb 2006
120 posts
Gave thanks: 0
Thanked 2 times
|
risky or not it depends how u use it
![]() just run it once from ur browser to see its interface. I changed its name because i dont want people to find it inside my directory(even though i delete it every time i use it) i think its original name its qw.cgi |
|
|
|
|
|
#6 (permalink) |
|
Insanely
Super #1
Joined in Jul 2005
Lives in Northwest USA
4,154 posts
Gave thanks: 39
Thanked 78 times
|
OK now just how risky?
This dose not mess with every file and folder in public_html right? This sounds like something a rookie like me should just not toy with yet! This PHPsuexec is starting to look like more trouble than it's worth. I think I have decided I will not risk upgrading with the chance of getting stuck on a server with PHPsuexec. It just seems to take to much control away from the user.And from the sounds of it from google searches it will limit the scripts I can use far to much. ![]()
__________________
![]() |
|
|
|
|
|
#7 (permalink) |
|
Insanely
Super #1
Joined in Jul 2005
Lives in Northwest USA
4,154 posts
Gave thanks: 39
Thanked 78 times
|
OK I got a friend to test this PHPsuexec and SMF issue out. He also tested Wordpress and he found no issue with Wordpress. I asked that of him for I plan to use that again when I redo a blog again.
But he tested SMF 1.0.7 and SMF 1.1 RC2 on a server with PHPsuexec enabled. And the only issue he found was with some Mods not all Mods that are written to require the 777 chmod would fail when installed via the SMF package manager. Not good for I use that due to using several Mods. And he said what needs to be done is the script authors need to find a work around in their next versions and Webhost using PHPsuexec need to have a work around for their clients if they have scripts that run into this chmod wall. That put in layman terms for me. lol I trust this guy allot. I've known him for about 30 years and he has worked with computers and software on some level for over 20 years. Sad it only took him 5 weeks to get back to me. Some people work to hard and to much. He looked at the Surpass packages and told me I should get off the general shared environment if I like Surpass so much and go for VPS for more control even if PHPsuexec is installed there for I should be able to temp change the files better in such an environment when the need arises. Sounds good but I likely won't have the budget in place for such till Fall. So I just have to hope SH76 stays PHPsuexec free till then. lol ![]()
__________________
![]() |
|
|
|
|
|
#8 (permalink) |
|
Surpass Fan
Comfy Contributor
Joined in Feb 2006
120 posts
Gave thanks: 0
Thanked 2 times
|
skipdawg u dont follow me man
![]() the script i uploaded is like a file browser where u see all ur directories and files and u set the the rights u want file over file or directory over directory |
|
|
|
|
|
#9 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
934 posts
Gave thanks: 2
Thanked 94 times
|
I had never installed SMF before, actually not even looked at it much.
In less than 20 minutes I installed it and the following mods, with no problems. ![]() This install can be found at http://simple2say.com/SMF/ if you want to look it over. It is straight out of the box. Using PHPsuExec, when it calls for chmoding files to 777 for install, you just ignore that step. I never chmoded a file. Chmod is only required when you have 777 folders or files when the PHP conversion is made from an Apache module. Once your scripts are working -- and all future installs -- with phpSUexec you will never need to chmod a file or folder again.
__________________
Where would you be if you were at the highest court in the land (US)? |
|
|
|
| This user thanks cowboy for this great post! | Skipdawg (October 19th, 2006) |