Actions
Bug #192
closedimprove redwrap user switch
Start date:
12/20/2024
Due date:
% Done:
0%
Estimated time:
Hardware platform:
Other
OS Affects Version/s:
OS Fix Version/s:
Labels:
Description
Trying to reach other namespaces, need capabiliies, when run as rp-owner bwrap complains that "Unexpected capabilities but not setuid, old file caps config?" and dies.
To avoid it, it could be run as root and switch to a given user using option --uid
But redwrap doesn't exploit that feature
Updated by José Bollo 10 days ago
the option --uid of bwrap only establishes a mapping to of the given uid to the current uid but does not changes the effective uid
so that option should not be used for the purpose of switching of user
Actions