![]() |
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.
|
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. |
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.
|
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 |
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. |
Yeah, I don't know. Sometimes it matters with directory you CHMOD. Good luck with having less fatal errors.
|
use 755 instead of 777 and it should work fine..
|
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 |
Quote:
|
Be real careful with anything set on 777
|
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.
|
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.
|
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