Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » rsync automated backup permissions
  •  
klynde

Messages: 22
Karma: 1
Send a private message to this user
I am trying to set up an rsync automated backup from Kerio running on Mac OS X 10.5.8 to a backup Mac running 10.4.11 using launchd.

I have the keys set up and working for ssh. I am having a problem with the actual rsync command getting a permissions error when trying to copy /usr/local/kerio.

Using the command line with sudo, rsync works fine.

I have saved the launchd file into the /Library/LaunchDaemons folder (actually Lingon did) and the permissions look OK. In theory anything run from/Library/LaunchDaemons should be run as root.

Checking the logs I see permissions errors when trying to access /usr/local/kerio.

Any ideas?

Thanks

Ken Lynde
Heinrich Marketing
  •  
TorW

Messages: 769
Karma: 9
Send a private message to this user
Have you tried running the rsync command from root's crontab?
  •  
My IT Indy

Messages: 1262
Karma: 40
Send a private message to this user
I had this problem on an OS X Server box one time. Save your rsync command into a text file, make it executable, and then use Lingon to execute the command instead.

-
My IT Indy
Kerio Certified Reseller and Hosted Provider
http://www.myitindy.com
Previous Topic: Nokia Mail For Exchange - unable sync agenda
Next Topic: Block IP after xy failed POP3 or SMTP logins?
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Sun Nov 19 15:08:27 CET 2017

Total time taken to generate the page: 0.00470 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.