[PATCH] D93881: [llvm-objcopy] preserve file ownership when overwritten
Manoj Gupta via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 6 16:13:40 PST 2021
manojgupta added a comment.
In D93881#2483309 <https://reviews.llvm.org/D93881#2483309>, @nickdesaulniers wrote:
> It sounds like portage should be using something like `setuidgid` to drop privileges for parts of the build.
I do not think that matters. If a file has owner other than default [1] , stripping or adding debuginfo link to this file will still require root privileges.
[1] https://github.com/gentoo/gentoo/search?q=fowners&type=code
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93881/new/
https://reviews.llvm.org/D93881
More information about the llvm-commits
mailing list