GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   a question for CPANEL experts.. (https://gfy.com/showthread.php?t=416193)

zentz 01-13-2005 02:36 PM

a question for CPANEL experts..
 
when my script try to access from account A (/home/zentz629/public_html/cgi-bin/atx/data/) to another file that is on account B (/home/user1/public_html/cgi-bin/atx/data/trades) , i get this error "Unable to open file /home/user2/public_html/cgi-bin/atx/data/trades/
Please check file permissions and try again"

maybe apache or system is set up so user1 doesn't
have access to user2?

any ideas if this can be fixed through WHM ?

prodiac 01-13-2005 02:38 PM

It sounds to me like the script may be misconfigured and trying to read from that wrong directory.

groark 01-13-2005 02:41 PM

Did you chmod the files correctly? Are you sure both accounts are on the same system?

But you should ask your hosting support about this

zentz 01-13-2005 02:53 PM

Quote:

Originally Posted by prodiac
It sounds to me like the script may be misconfigured and trying to read from that wrong directory.

its all ok with the script configurations.. the path is ok... this started to happen after i updated my apache setup...

zentz 01-13-2005 02:55 PM

Quote:

Originally Posted by groark
Did you chmod the files correctly? Are you sure both accounts are on the same system?

But you should ask your hosting support about this

yes and yes

prodiac 01-13-2005 03:00 PM

That is really odd. I would be willing to check it out for you if you would like. You can reach me on icq or aim, both are in my sig.

Top Jimmy 01-13-2005 03:07 PM

you have suexec running?

modF 01-13-2005 03:13 PM

Are you in the whm as root or the actual A account?

zentz 01-13-2005 03:19 PM

Quote:

Originally Posted by prodiac
That is really odd. I would be willing to check it out for you if you would like. You can reach me on icq or aim, both are in my sig.

thanks, i will contact you if i dont get an answer soon

zentz 01-13-2005 03:19 PM

Quote:

Originally Posted by Top Jimmy
you have suexec running?

yes, suexec is enabled

zentz 01-13-2005 03:20 PM

Quote:

Originally Posted by modF
Are you in the whm as root or the actual A account?

as root...

zentz 01-13-2005 04:01 PM

one more BUMP!

keyboard warrior 01-13-2005 04:03 PM

i had a pronlem like this last week and just updated cpanel and it fixed it.

EZRhino 01-13-2005 04:59 PM

Quote:

Originally Posted by keyboard warrior
i had a pronlem like this last week and just updated cpanel and it fixed it.

I would update cpanel and for sure talk to your host if the update doesnt work.

zentz 01-13-2005 05:11 PM

Quote:

Originally Posted by EZRhino
I would update cpanel and for sure talk to your host if the update doesnt work.

cpanel is updated to the latest version, i manage the server by myself

zentz 01-14-2005 04:56 AM

this is the response i got from my secondary server management team... #Correct, standard UNIX security and Apache security will 'not' allow you to access directories outside that user's environment. #

i doubt this is a standard cause everything was working well before i updated my apache setup...

Top Jimmy 01-14-2005 04:59 AM

SUEXEC is the reason it won't work. Why not just run both as the same user?
That would solve your problem.

Top Jimmy 01-14-2005 05:02 AM

They are on the same box, just chown the file you need user 1 to use to user and group of user 1.

man that was winded.

zentz 01-14-2005 05:43 AM

Quote:

Originally Posted by Top Jimmy
SUEXEC is the reason it won't work. Why not just run both as the same user?
That would solve your problem.

yup, disabling suexec fixed the problem.. i guess i just dont need that shit anyway.. thanks

Top Jimmy 01-14-2005 05:46 AM

If you have a bunch of users, SUEXEC should be ENABLED.
If you are the only user, than it shouldn't be a problem.

If you have multiple users leave SUEXEC enabled, and try the chown.


All times are GMT -7. The time now is 03:07 AM.

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