advertisement

Article:
  Learning the Mac OS X Terminal, Part 5
Subject:   Sudo and ditto
Date:   2002-07-08 02:26:01
From:   tjj
Works very well, thank you.
I like to back up my ~folder, once in a while. And if I run a script with ditto from my crontab it chokes:
copying file ./Library/Preferences/com.apple.NetInfoManager.plist ... com.apple.NetInfoManager.plist: Permission denied
/Volumes/FirewireDrive2/HomeBackUp/tjj/Library/Preferences/com.apple.NetInfoManager.plist: Permission denied
If the script is run from terminal: sudo backup.sh, no problem. And ditto IS much faster copying 1.7 Gb than RsyncX sync'ing 1.4 Gb. But how do I get around the sudo issue with ditto?
Regards
Thomas Jon

1 to 1 of 1
  1. Sudo and ditto
    2002-07-13 10:04:24  markedwards2 [View]

    • Sudo and ditto
      2002-08-07 01:32:12  tjj [View]

    • Sudo and ditto
      2002-08-07 01:30:28  tjj [View]

1 to 1 of 1