![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Nov 2009
Posts: 206
|
CHMOD 777 Permisions
Trying to install Smart thumbs, cosmos, and another misc program on a subdomain. When I change the permissions to 777 the install script won't load.. it gives a 500 internal error. Pulling hair out, is this because it's not on the main directory? Recently the server was hacked, i'm wondering if it could be a security issue on there end. Any help would be appreciated.
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#2 |
♥♥♥ Likes Hugs ♥♥♥
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
|
On a shared server, don't use 777.
Cosmos? Do you mean Comus? If so you don't need smart thumbs and comus BOTH. Stick with smart thumbs. Scripts should be set to 755 to execute.
__________________
I like pie. |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Nov 2009
Posts: 206
|
ROFL.. Yeah Comus. I realize there both different programs. What's happening is the scripts are erroring saying that the file has been blocked from writing. When I change that to 755.. do I need to tell it to change the directory and files? or just the folder is enough.
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Nov 2009
Posts: 206
|
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4734465 bytes)
That's why I didn't use smart thumbs.. Sorry i'm rambling.. need sleep lol |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Jan 2009
Posts: 420
|
Most likely you are receiving a 500 internal server error because the host will not allow files with a permission level of 777 to run, or will not allow a directory with a permission level of 777.
If the server is running as "nobody", or a user different than your ftp user, the file you are writing TO will most likely need to be 777. If your scripts execute as your ftp user, using suPHP etc.., a permission level of 755 will allow script to write to your files, and in a sense claim them as its own. Ultimately it depends on your server setup, you may want to contact your hosting provider. |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#6 |
ICQ:649699063
Industry Role:
Join Date: Mar 2003
Posts: 27,763
|
Yeah, I don't know. Sometimes it matters with directory you CHMOD. Good luck with having less fatal errors.
__________________
Send me an email: [email protected] |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#7 |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
|
use 755 instead of 777 and it should work fine..
__________________
Make a bank with Chaturbate - the best selling webcam program ![]() ![]() ![]() Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!! PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email: ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Nov 2009
Posts: 206
|
I changed it to 755.. same shit.. I'm getting this error when trying to install
Warning: system() has been disabled for security reasons in xxxxx.com/setup.php on line 384 I sent a ticket to isp, no word back yet |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Industry Role:
Join Date: Jan 2009
Posts: 420
|
PHP may be running in safe mode, or your ISP disabled some of the PHP functions which may be harmful to their system if not used properly.
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#10 |
Too lazy to set a custom title
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,912
|
Be real careful with anything set on 777
__________________
PornGuy skype me pornguy_epic AmateurDough The Hottes Shemales online! TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME! |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Nov 2009
Posts: 206
|
Ok I think I solved the problem... I had to mod the Public_Html Folder to allow the sub domain directories to be able to write.
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
Industry Role:
Join Date: Aug 2009
Posts: 2,346
|
Umm... I think you might wanna watch, doing that, because if you stop files from being written then programs like Trade Pulse among probably a million other programs won't run proper.
__________________
![]() ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#13 |
Registered User
Industry Role:
Join Date: Dec 2009
Posts: 13
|
Yea, I think youre original problem was just that shared hosting doesn't allow 777 permissions. I wouldn't fuck with the permissions on your public_html dir.
|
![]() |
![]() ![]() ![]() ![]() |