Package request: pseudo
pseudo — an analogue to sudo
The pseudo utility offers a way to run commands in a virtualized “root” environment, allowing ordinary users to run commands which give the illusion of creating device nodes, changing file ownership, and otherwise doing things necessary for creating distribution packages or filesystems.
Home page:
https://www.yoctoproject.org/tools-resources/projects/pseudo
Version:
1.7.4
(2015-09-22)
Source: git only?
When building software it can be necessary to perform operations as if you were the system administrator. For example, you might need to define a file’s ownership or permission information.
Pseudo is a program that can either be used directly or as an LD_PRELOAD, which allows these operations to succeed as if the user did have system administrator privileges even though they are an ordinary user.
Pseudo has a lot of similarities to fakeroot but is a new implementation that improves on the problems seen using fakeroot. Pseudo is now extensively used by Poky as a replacement to fakeroot but can also be used standalone in many other use cases.
Resources:
Why not
fakeroot?
[2010-09-14]
All about pseudo, Part 1: Being root without being
root
[2011-05-10]
All about pseudo, Part 2: Under the
hood
[2011-05-17]
(from redmine: issue id 4922, created on 2015-12-03)