What user is the script run as after Carbon Copy Cloner ends scheduled task?

Posted by Paolo on Server Fault See other posts from Server Fault or by Paolo
Published on 2013-11-11T18:21:40Z Indexed on 2013/11/12 9:58 UTC
Read the original article Hit count: 317

Filed under:
|

On Mac OS X I keep data on a local server mirrored with the same data on a remote server with a scheduled backup task done with Carbon Copy Cloner.

After the backup is done a bash script is run as specified in the scheduled task options of CCC.

Is the script run as root?

Or differently and more generally: as my script writes to a log file, what command should I put on my script to see on the log if the script is running as root or something else?

© Server Fault or respective owner

Related posts about permissions

Related posts about bash