Re: chmod difficulties...
| From: | Scott Fletcher | Date: | Wed, 10 Nov 2004 22:41:58 +0000 |
| Subject: | Re: chmod difficulties... | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201728@lists.php.net to get a copy of this message | ||
Oh I see. I tried a different experiment through the telnet and I noticed I
get this error if I use the wrong password. So, I get the impression that
it is a timing issues or something because I may be sending out the password
too early or too late... Sigh!! More work for me.... Boy!!
Scott
"Scott Fletcher" <scott@abcoa.com> wrote in message
news:20041110211017.56338.qmail@pb1.pair.com...
> I tried that before and it doesn't work... Here's the response..
>
> --snip--
> 3004-501 Cannot su to "webacct" : Authentication is denied.
> --snip--
>
> Scott
>
> "M. Sokolewicz" <tularis@php.net> wrote in message
> news:20041110210603.38034.qmail@pb1.pair.com...
> > you can have apache SU to a user with enough permissions to do what you
> > are trying :)
> >
> > (passthru('SU ...'))
> >
> > Scott Fletcher wrote:
> > > Hi, I'm using the AIX or UNIX system... When I tried the ...
> > >
> > > --snip--
> > > passthru('chmod -R a+rw ../WebHelp/* 2>&1');
> > > --snip--
> > >
> > > I get an error message, "Operation Is Not Permitted".. So, I tried
> other
> > > option...
> > >
> > > --snip--
> > > chmod("../WebHelp/", 0755);
> > > --snip--
> > >
> > > I get an error message, "Warning: chmod(): Not owner in <<filepath>>
on
> line
> > > 13"..
> > >
> > > Problem here is that Apache use hte account, "nobody" and is used as
> "other"
> > > when it come to file permission. (Not the "file owner" or
> > > "group")...
> The
> > > rest of the website files are in a different user account and have
> different
> > > ownership:group...
> > >
> > > Does anyone encountered this situation and does anyone every have a
> > > workaround to it to your knowledge??
> > >
> > > Thanks,
> > > Scott