Re: Log output of bash script when part is run as different user

2013-08-21 Thread Cameron Simpson
On 21Aug2013 10:19, Mark Haney wrote: | Okay, I wasn't sure if that would work or not since I was running the | internal script as a different user. Thanks. Sounds like the files are already open; it will be fine. If the inner script needed to open the files itself you might encounter permissio

Re: Log output of bash script when part is run as different user

2013-08-21 Thread Reindl Harald
Am 21.08.2013 16:04, schrieb Mark Haney: > I've got a bash script that has two parts. > > 1. runs a script as a different user (using su -c

Re: Log output of bash script when part is run as different user

2013-08-21 Thread Mark Haney
Okay, I wasn't sure if that would work or not since I was running the internal script as a different user. Thanks. On Wed, Aug 21, 2013 at 10:11 AM, Reindl Harald wrote: > > > Am 21.08.2013 16:04, schrieb Mark Haney: > > I've got a bash script that has two parts. > > > > 1. runs a script as a

Log output of bash script when part is run as different user

2013-08-21 Thread Mark Haney
I've got a bash script that has two parts. 1. runs a script as a different user (using su -c