I've setup archivers/urbackup-server on a server with ZFS.
urbackup uses a helper program, urbackup_snapshot_helper which is setuid to manage snapshots. The problem is I want to run the urbackup server program as the user urbackup, but it can't write to the datasets the helper program creates. I've asked in the urbackup forums, but I don't expect to get much except "run it as root".
I have these permissions set on the parent dataset:
# zfs allow data/urbackup
---- Permissions on data/urbackup ------------------------------------
Local+Descendent permissions:
user urbackup clone,create,destroy,diff,hold,mount,promote,release,rename,rollback,snapshot
I've experimented with setfacl, but it doesn't work.
Is there a good way of making urbackup the owner of a dataset and all child datasets, now and in the future, with full access?
urbackup uses a helper program, urbackup_snapshot_helper which is setuid to manage snapshots. The problem is I want to run the urbackup server program as the user urbackup, but it can't write to the datasets the helper program creates. I've asked in the urbackup forums, but I don't expect to get much except "run it as root".
I have these permissions set on the parent dataset:
# zfs allow data/urbackup
---- Permissions on data/urbackup ------------------------------------
Local+Descendent permissions:
user urbackup clone,create,destroy,diff,hold,mount,promote,release,rename,rollback,snapshot
I've experimented with setfacl, but it doesn't work.
Is there a good way of making urbackup the owner of a dataset and all child datasets, now and in the future, with full access?