Skip to content

Conversation

@sylvestre
Copy link
Contributor

Should make tests/install/install-C-root.sh pass

@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/install/install-C-root is no longer failing!

@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/install/install-C-root is no longer failing!

@sylvestre sylvestre requested a review from cakebaker December 28, 2023 10:43
@github-actions
Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/inotify-dir-recreate (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/install/install-C-root is no longer failing!

@cakebaker cakebaker merged commit 76fedf6 into uutils:main Dec 28, 2023
@cakebaker
Copy link
Contributor

Congrats! The gnu test tests/install/install-C-root is no longer failing!

Great :)

@sylvestre sylvestre deleted the install-root branch December 28, 2023 20:10
Ecordonnier added a commit to Ecordonnier/coreutils that referenced this pull request Nov 25, 2025
- GNU coreutils does not do that
- this `chown` call does not work when running with `pseudo`
- this behavior was added in uutils#5735 to make the test `install-C-root.sh` pass

Fixes uutils#9116

Signed-off-by: Etienne Cordonnier <[email protected]>
Ecordonnier added a commit to Ecordonnier/coreutils that referenced this pull request Nov 25, 2025
- `pseudo` is a tool which simulates being root by intercepting calls to e.g. `geteuid` and `chown` (by using the `LD_PRELOAD` mechanism). This is used e.g. to build filesystems for embedded devices without running as root on the build machine.

- the `chown` call getting removed in this commit does not work when running with `pseudo` and using `PSEUDO_IGNORE_PATHS`: in this case, the call to `geteuid()` gets intercepted by `libpseudo.so` and returns 0, however the call to `chown()` isn't intercepted by `libpseudo.so` in case it is in a path from `PSEUDO_IGNORE_PATHS`, and will thus fail since the process is not really root

- the call to `chown()` was added in uutils#5735 with the intent of making the test `install-C-root.sh` pass, however it isn't required (GNU coreutils also does not call `chown` just because `install` was called as root)

Fixes uutils#9116

Signed-off-by: Etienne Cordonnier <[email protected]>
mattsu2020 pushed a commit to mattsu2020/coreutils that referenced this pull request Dec 6, 2025
- `pseudo` is a tool which simulates being root by intercepting calls to e.g. `geteuid` and `chown` (by using the `LD_PRELOAD` mechanism). This is used e.g. to build filesystems for embedded devices without running as root on the build machine.

- the `chown` call getting removed in this commit does not work when running with `pseudo` and using `PSEUDO_IGNORE_PATHS`: in this case, the call to `geteuid()` gets intercepted by `libpseudo.so` and returns 0, however the call to `chown()` isn't intercepted by `libpseudo.so` in case it is in a path from `PSEUDO_IGNORE_PATHS`, and will thus fail since the process is not really root

- the call to `chown()` was added in uutils#5735 with the intent of making the test `install-C-root.sh` pass, however it isn't required (GNU coreutils also does not call `chown` just because `install` was called as root)

Fixes uutils#9116

Signed-off-by: Etienne Cordonnier <[email protected]>
romanstingler pushed a commit to romanstingler/coreutils that referenced this pull request Dec 14, 2025
- `pseudo` is a tool which simulates being root by intercepting calls to e.g. `geteuid` and `chown` (by using the `LD_PRELOAD` mechanism). This is used e.g. to build filesystems for embedded devices without running as root on the build machine.

- the `chown` call getting removed in this commit does not work when running with `pseudo` and using `PSEUDO_IGNORE_PATHS`: in this case, the call to `geteuid()` gets intercepted by `libpseudo.so` and returns 0, however the call to `chown()` isn't intercepted by `libpseudo.so` in case it is in a path from `PSEUDO_IGNORE_PATHS`, and will thus fail since the process is not really root

- the call to `chown()` was added in uutils#5735 with the intent of making the test `install-C-root.sh` pass, however it isn't required (GNU coreutils also does not call `chown` just because `install` was called as root)

Fixes uutils#9116

Signed-off-by: Etienne Cordonnier <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants