PDA

View Full Version : permissions issues w/backup and readyNas


bthom
01-05-2008, 06:38 PM
Hi,

I am writing a specific question about a readyNas (Infrant ReadyNAS NV) and attached Macs (OSX 10.4.10) b/c I'd learned that David had a similar environment:

http://www.shirt-pocket.com/forums/showthread.php?t=3147&highlight=bthom

After a smart backup (incremental update of entire Mac disk to Nas) I tell SD to run a script that updates any diffs between a Nas media folder and stuff on my Mac. The script I wrote runs fine if I call it manually from the Terminal, but when superDuper runs it, it fails. In particular, rsync complains about permissions problems.

I now realize superDuper is running the script as root; is there a way to control who runs it? And at a higher level, if I'm backing up a particular user's files over an AFP connection, does it even make sense to have root run such a script?

Advice appreciated. Thanks!

--b

dnanian
01-05-2008, 07:15 PM
You can control how you're running by "sudo"ing as a different user, if you'd like. So, you'd do something like "sudo -u <the user you want> the-script"...