GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   CHMOD 777 Permisions (https://gfy.com/showthread.php?t=941692)

Big Chad 12-03-2009 08:34 PM

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.

Babaganoosh 12-03-2009 08:39 PM

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.

Big Chad 12-03-2009 08:46 PM

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.

Big Chad 12-03-2009 09:01 PM

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

AIbenjamink 12-03-2009 09:52 PM

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.

fatfoo 12-04-2009 01:52 PM

Yeah, I don't know. Sometimes it matters with directory you CHMOD. Good luck with having less fatal errors.

HomerSimpson 12-05-2009 02:55 PM

use 755 instead of 777 and it should work fine..

Big Chad 12-06-2009 07:30 PM

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

AIbenjamink 12-06-2009 09:00 PM

Quote:

Originally Posted by Big Chad (Post 16620995)
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

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.

pornguy 12-07-2009 09:10 PM

Be real careful with anything set on 777

Big Chad 12-10-2009 08:20 PM

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.

CPimp 12-22-2009 12:38 AM

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.

AbortedFajitas 12-22-2009 01:19 AM

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.


All times are GMT -7. The time now is 04:06 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc