https://github.com/sslab-gatech/fakeroot-p
https://github.com/sslab-gatech/fakeroot-p
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sslab-gatech/fakeroot-p
- Owner: sslab-gatech
- License: gpl-3.0
- Created: 2016-07-06T16:27:38.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-24T14:19:00.000Z (over 9 years ago)
- Last Synced: 2025-02-15T10:45:45.234Z (11 months ago)
- Language: Makefile
- Size: 609 KB
- Stars: 9
- Watchers: 15
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: COPYING
- Authors: AUTHORS
Awesome Lists containing this project
README
FakeRoot-P
============
[FakeRoot](https://wiki.debian.org/FakeRoot) is a tool that offers applications the illusion
of root privileges. This is most often used for building packages with correct permissions.
[FakeRoot-P](https://github.com/sslab-gatech/fakeroot-p) is a performance-oriented re-design of FakeRoot, scalable on multi-core architectures.
Please see [PDF](/doc/fakerootp.pdf) for more information.
Building
--------------
Like FakeRoot, FakeRoot-P can be built using either
System V or TCP as a transport mechanism between clients and server.
However, the scalable design of FakeRoot-P is only implemented with the
System V method of communication. When built with the TCP option,
FakeRoot-P retains the lack of scalability of the original FakeRoot code.
SysV IPC is the default; to build for TCP, run configure with
`--with-ipc=tcp` (case-sensitive).
To build, run:
```
cd src/
./configure
make
make install
```
FreeBSD: to compile `--with-ipc=tcp` and `gcc`, make sure the `-pthread` flag
is used.
Notes
--------------
Cases for which the SYSV IPC version fails or causes problems but for
which fakeroot-tcp has been observed to work well include the items
listed below.
* Multithreaded applications (using pthread)
* Running under realtime-preempt kernel
Portability: On OS X, only binaries that do NOT rely on Mach-based [e]uid/[e]gid/mode
APIs will correctly use fakeroot altered ownership/permissions.
See README_MACOSX.txt for further information.