SCIENTIFIC-LINUX-USERS Archives

August 2015

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Charles Lane <[log in to unmask]>
Reply To:
Date:
Sat, 29 Aug 2015 17:01:49 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (46 lines)
chmod +x  is the same as a+x

I use rc.local, and it works, and it's
-rwxr-xr-x

try it that way. Perhaps systemd isn't
executing it as root. 

On Sat, 29 Aug 2015 13:26:06 -0700
ToddAndMargo <[log in to unmask]> wrote:

> > On Sat, 29 Aug 2015 12:46:18 -0700
> > ToddAndMargo <[log in to unmask]> wrote:
> >>>
> >>>          $ ls -al /etc/rc.d/rc.local
> >>>          -rwxr--r--. 1 root root 1013 Aug 29
> >>> 11:20 /etc/rc.d/rc.local
> >>>
> 
> > # Please note that you must run 'chmod +x /etc/rc.d/rc.local' to
> > ensure # that this script will be executed during boot.
> >
> >
> 
> 
> It is executable!  -rwxr--r--  Executable by owner, which is root.
> 
> And, if that were wrong,
> 
> > # systemctl start rc-local
> 
> would not work.
> 
> Rat!  I wish it was that easy!
> 
> 
> 



-- 
 Drexel University    \V               --Chuck Lane
======]---------->-----*------<--------[===========
     (215) 895-1545   / \_/*~~~~~  Particle Physics
FAX: (215) 895-1281  [log in to unmask]

ATOM RSS1 RSS2