add privsep patch
setgid should be called before setuid
If you setuid to a non-zero value first(meaning you're no longer root), then call setgroups, the effective uid of the process is now no longer root, meaning that the internal setgid call fails.
This is needed for backups from attached volumes on yoga when using NFS as storage backend.
Edited by Max Lamprecht