rsync: sandbox with tryKeepUsers. this lets us rsync things owned by any user, not just the non-superuser invoker

This commit is contained in:
2024-09-06 06:33:45 +00:00
parent 8255e419be
commit ca3dc42586

View File

@@ -1026,6 +1026,7 @@ in
rsync.sandbox.method = "bunpen";
rsync.sandbox.net = "clearnet";
rsync.sandbox.autodetectCliPaths = "existingOrParent";
rsync.sandbox.tryKeepUsers = true; # if running as root, keep the user namespace so that `-a` can set the correct owners, etc
rust-analyzer.sandbox.method = "bunpen";
rust-analyzer.sandbox.whitelistPwd = true;