rc.local not working

Malcolm Kay malcolm.kay at internode.on.net
Sat Aug 7 03:39:40 UTC 2004


On Saturday 07 August 2004 03:21, ABrady wrote:
> On Fri, 06 Aug 2004 12:50:07 -0400
>
> Jason Staudenmayer <jasons at NJAQUARIUM.ORG> wrote:
> > Did the permissions change after editing? I have heard of some editors
> > doing that.
>
> Can't be that, because:
> > > though there's no error in that file if I do
> > >
> > > sh /etc/rc.d/rc.local
> > >
> > > it works
>

This does not follow:
Passing a file as argument to sh will try to execute it irrespective of
the execute permissions on the file.
The real question is:
  Does
    /etc/rc.d/rc.local
  work? This does need the execute permission.

Malcolm





More information about the redhat-list mailing list