daemon root permissions on macos devices

Recommended Posts


I would like my resilio-sync to have permissions to place files everywhere it wishes to.  in other words, I want to give the daemon root privileges.  Ideally, the daemon would preserve the uid and gid and permissions of the files themselves.

on linux, I can accomplish this by editing /lib/systemd/system/resilio-sync.service .  what is the equivalent file (or method) on macos?


Link to post
Share on other sites
  • 1 month later...

So I recall you posting about this and didn't have anything to offer since I don't use macOS. But while evaluating backup solutions for FreeBSD, I did come across this support note from urBackup (emphasis mine):



Due to continuous instability and breakage of UrBackup Client on the macOS platform, official support for this platform has currently ceased. Please consider using a different backup solution for this platform.


MacOS Mojave's privacy protection prevents root from reading all files and causes backup errors. Adding UrBackup Client to the list of allowed apps either doesn't work, works till reboot or causes high CPU usage during backups


So basically it seems macOS has crippled root filesystem access. One thing you could try is creating a group in macOS, applying read, write, and execute permissions for that group to the folders Resilio Sync touches, and then adding the users whose directories Sync has access to, as well as the rslsync user, to that group. I have no idea how that would work, and *nix group permissions tend to be screwy, but there's that. Let us know how it goes.

BTW I suppose the rest of us will be facing a similar problem when Scoped Storage becomes mandatory in Android 11. Just about every app that touches the Android filesystem will have to be updated for it.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.