Portal Home > Knowledgebase > Articles Database > Permission problem on /usr/bin for hosting users.


Permission problem on /usr/bin for hosting users.




Posted by Tim G, 08-16-2008, 03:04 PM
Hi, I'm working on one of my customer's server but i have a permission problem. I want to run some commands via php but there is a permission problem with commands. If my php file having root user and group permissions i can check and use the executable files. Otherwise, if the php files have normal hosting account user and group permissions i can't be able to use needed commands/executable files. I tried to change commands group to same group but it didn't work. What should i do for solve this ? I need an urgent reply. Thanks.

Posted by TheITAdvisory, 08-16-2008, 06:53 PM
what are the permissions on the files you need to run?

Posted by Tim G, 08-16-2008, 08:28 PM
Hi, I solve the problem. It wasn't related with permissions. I found a php flag definition line for safe mode in vhost config file of the domain. Because of that php scripts was running under safe mode. When i turned off, php script works fine. Thanks anyway =)

Posted by TheITAdvisory, 08-16-2008, 08:29 PM
Make sure the script is not able to be hacked.

Posted by learnerman, 08-17-2008, 11:35 PM
Do you really think there is a script NOT able to be hacked/exploited ?

Posted by Tim G, 08-18-2008, 12:14 AM
depends =) to who? to what?



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Port 81 (Views: 744)
Hosting Budget (Views: 748)


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.