]> git.ipfire.org Git - thirdparty/rsync.git/commit
testsuite: run protected-regular test as non-root using unshare
authorAndrew Tridgell <andrew@tridgell.net>
Wed, 22 Apr 2026 02:36:50 +0000 (12:36 +1000)
committerAndrew Tridgell <andrew@tridgell.net>
Thu, 30 Apr 2026 23:27:12 +0000 (09:27 +1000)
commit67f1dcf604b6c5f2e860c3bbd174bbfd14d5c504
tree5f1bfebd52709d40eef58935b6564a94dbd23b36
parent79fd7d58857865f738557cc208a7c0cdc9a7e468
testsuite: run protected-regular test as non-root using unshare

Use unshare with user namespace UID mapping to run the
protected-regular test without real root privileges. Falls back
to skipping if unshare or uidmap is not available.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
testsuite/protected-regular.test