paul- wrote: > Just run the 3 sed commands with sudo. But probably not much harm in > running the script as root. Just be aware that tce-load cannot run with > root permissions, so be sure to preface with "sudo -u tc ...." if you > run the script as root. > > The other thing I would change. Set your working path to > /tmp/$packagename That way an odd problem doesn't leave stuff in the > users home directory to blowup the backup. Download the file into /tmp > too.
Thanks Paul. I've put an inline sudo in front of the sed commands and also changed the working path and download path into /tmp. Verified that it all still works on a fresh pCP install :cool: ------------------------------------------------------------------------ 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
