Skip to content

install: add FreeBSD's -U (unprivileged) option#9526

Merged
sylvestre merged 1 commit intouutils:mainfrom
alexandrefresnais:feature/install_unprivileged
Dec 29, 2025
Merged

install: add FreeBSD's -U (unprivileged) option#9526
sylvestre merged 1 commit intouutils:mainfrom
alexandrefresnais:feature/install_unprivileged

Conversation

@alexandrefresnais
Copy link
Contributor

Fixes #1273

As suggested per some users, It could be nice to support FreeBSD's -U option for unprivileged install.

The manual states

-U: Indicate that install is running  unprivileged, and  that  it 
should  not  try to  change  the owner, the group, or the file
 flags of	the destination.

@alexandrefresnais alexandrefresnais force-pushed the feature/install_unprivileged branch from 8ad88b0 to 41dab2b Compare November 30, 2025 09:32
@alexandrefresnais
Copy link
Contributor Author

Fixed clippy

@sylvestre
Copy link
Contributor

We have an extension.md file. Could you please update it too? Thanks

@alexandrefresnais alexandrefresnais force-pushed the feature/install_unprivileged branch from 41dab2b to 9991598 Compare November 30, 2025 09:50
@alexandrefresnais
Copy link
Contributor Author

Sure, thank you, updated it

@alexandrefresnais alexandrefresnais force-pushed the feature/install_unprivileged branch from 9991598 to 4e81e37 Compare November 30, 2025 09:54
@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tail/overlay-headers (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/misc/tee (passes in this run but fails in the 'main' branch)

@alexandrefresnais alexandrefresnais force-pushed the feature/install_unprivileged branch from 4e81e37 to 90c06de Compare November 30, 2025 10:26
@alexandrefresnais
Copy link
Contributor Author

Skipped my test on selinux

@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tail/overlay-headers (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/misc/tee (passes in this run but fails in the 'main' branch)

@alexandrefresnais alexandrefresnais force-pushed the feature/install_unprivileged branch from 90c06de to 477168e Compare December 5, 2025 22:09
@github-actions
Copy link

github-actions bot commented Dec 6, 2025

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/overlay-headers (passes in this run but fails in the 'main' branch)

@alexandrefresnais alexandrefresnais force-pushed the feature/install_unprivileged branch 2 times, most recently from 1d5a4b4 to 8f9799d Compare December 20, 2025 15:20
@github-actions
Copy link

GNU testsuite comparison:

GNU test failed: tests/sort/sort-stale-thread-mem. tests/sort/sort-stale-thread-mem is passing on 'main'. Maybe you have to rebase?

@alexandrefresnais alexandrefresnais force-pushed the feature/install_unprivileged branch from 8f9799d to 943ac5f Compare December 20, 2025 15:43
@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

@alexandrefresnais
Copy link
Contributor Author

Improved the test for the unprivileged option and general code improvements

@alexandrefresnais alexandrefresnais force-pushed the feature/install_unprivileged branch from 943ac5f to 8c7434c Compare December 20, 2025 18:19
@github-actions
Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

@sylvestre sylvestre merged commit 8c10759 into uutils:main Dec 29, 2025
128 checks passed
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.

install: implement unprivileged mode

2 participants