Bogg wrote: 
> Hi, I've done the above
> > 
Code:
--------------------
  >   > 
  > tc@pCP:~$ cd /opt
  > tc@pCP:/opt$ sudo chown tc:staff bootlocal.sh
  > tc@pCP:/opt$
  > 
--------------------
> > 
> 
> I then do pcp br, then run the script again. But still get the exact
> same problems as before - 
> 
> > 
Code:
--------------------
  >   > 
  > sed: can't create temp file '/opt/bootlocal.shzizocx': Permission denied
  > sed: can't create temp file '/opt/bootlocal.shKZBUqA': Permission denied
  > sed: can't create temp file '/opt/bootlocal.shyZHzKI': Permission denied
  > --> Creating ngrok.yml in /home/tc/.ngrok2/ for tunnel [SqDisplayLMSTunnel]
  > 
  > --> Backing up changes using pcp bu.
  > 
--------------------
> > 

Sounds like some other startup  script you are using has ‘sudoitis’ and
is undoing the chown. Try not doing pcp br after issuing the command and
run the setup script immediately while things are still owned by
tc:staff. 

Many people use sudo for just about everything but any files handled
when a script is run with sudo wil subsequently be owned by root. Always
ask yourself if sudo is really needed.




------------------------------------------------------------------------
philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=113966

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to