Home
Phabricator
Search
Log In
Differential
D6197
Diff 15385
src/ioslaves/file/file.h
Changeset View
I find execWithRoot() to be a bit misleading, as the goal shouldn't be to always elevate to root's privileges but to only what's required to execute the specific operation (e.g. browse /home/someotheruser doesn't need root's privileges but only someotheruser's privileges).
Always elevating to root is IMHO by far too permissive.