oech3 and Daniel Hofstetter
94f9224ce2
Disable strip related tests on Android
2026-02-21 16:59:08 +01:00
Jake Abendroth and GitHub
0c41299975
fix(install): prevent symlink race condition in install -D ( fixes #10013 ) ( #10140 )
2026-02-14 21:47:33 +01:00
✿ Fleur de Blue and GitHub
2a2cafdbd4
Re-enable unused_qualifications lint ( #10571 )
2026-02-03 21:55:21 +01:00
Dalton Caron and GitHub
b5bbabc18a
install: prevent TOCTOU race attack ( #10067 )
...
* install: prevent TOCTOU race attack
* cspell: add TOCTOU acronym to jargon word list
2026-01-17 18:08:14 +01:00
Sylvestre Ledru and GitHub
8c10759e2c
Merge pull request #9526 from alexandrefresnais/feature/install_unprivileged
...
install: add FreeBSD's -U (unprivileged) option
2025-12-29 14:44:21 +01:00
RustyJack and GitHub
939ab037a2
uucore: use --suffix to enable backup mode ( #9741 )
2025-12-21 10:17:35 +01:00
Alexandre Fresnais
8c7434cf36
install: add -U (unprivileged) option
2025-12-20 19:19:25 +01:00
747874911a
Enhance mode parsing to support comma-separated mode strings in install command ( #9298 )
...
* Enhance mode parsing to support comma-separated mode strings in `parse` function. Add tests for comma-separated mode handling in file and directory creation.
* Add comprehensive tests for mode parsing in `parse` function, covering numeric, symbolic, and mixed modes, as well as handling of invalid inputs and umask considerations.
---------
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org >
2025-11-17 10:14:22 +01:00
Adrian Kretz
4d71a6e2d2
test/install: add test to ignore umask
2025-11-13 00:30:30 +01:00
Sylvestre Ledru
30dbdf7ac7
install: fix the error message
...
should fix: tests/install/basic-1.sh
2025-11-08 10:58:46 +01:00
Sylvestre Ledru
2434c2ae13
Install: implement -Z
...
Fixes: tests/install/install-Z-selinux
2025-10-21 23:27:06 +02:00
Sylvestre Ledru
83e5be8a52
install: options support non-ut8 too
2025-08-14 10:54:17 +02:00
Sylvestre Ledru
39b7721464
Fix install to handle non-UTF-8 filenames
2025-08-14 10:52:24 +02:00
Daniel Hofstetter
d9af611a9f
install: disable two tests on macOS x86_64
...
they run in timeouts in the CI with macos-latest
2025-08-02 17:33:41 +02:00
Sylvestre Ledru
6e930966fb
selinux: introduce get_getfattr_output to verify the output of getfatt
2025-07-31 17:45:34 +02:00
Julian Andres Klode
190ddd105c
install: Fix --no-target-directory with existing file
...
install should silently override existing target files, but it
inadvertently checked whether the target exists rather than
for the target being a directory, hence the overwrite failed,
saying it cannot overwrite the directory with non-directory.
Bug-Ubuntu: https://bugs.launchpad.net/bugs/2118785
2025-07-29 12:24:31 +02:00
Julian Andres Klode
abb5300068
install, mkdir: Handle dir/./ like dir/.
...
The dir/. special case was handled correctly, but dir/./ was not,
breaking gcc builds, which run:
../../../../src/libstdc++-v3/../install-sh -c -d debug/./
Bug-Ubuntu: https://bugs.launchpad.net/bugs/2117466
2025-07-22 09:44:15 +02:00
Yuri Astrakhan and Daniel Hofstetter
206281e29b
chore: fix uninlined_format_args lint
...
I used this command, plus some manual fixes:
```sh
__CARGO_FIX_YOLO=1 cargo clippy --fix --all-targets --workspace --all-features --allow-dirty
```
2025-07-09 10:50:36 +02:00
Sylvestre Ledru
d9c72dcdc8
install -C: also the manage the ignore case
2025-06-29 23:51:45 +02:00
bdcd2ef00a
install: implement option -C
...
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com >
2025-06-29 23:19:09 +02:00
jenningsfan and GitHub
3214c4d604
install: don't error when multiple arguments of the same type are given, instead override with last one ( #8033 ) ( #8053 )
2025-06-28 09:57:55 +02:00
Sylvestre Ledru and Daniel Hofstetter
38861cc767
selinux: add support for install
2025-05-21 09:51:27 +02:00
Zhang Wen and GitHub
68c91c17ba
install: implement the --no-target-directory option ( #7867 )
...
* implement --no-target-directory option
* add test for --no-target-directory
2025-05-02 07:24:16 +02:00
Zachary Goff-Hodges
827d0fcee9
install: fixes issue #7795
2025-04-25 03:48:50 -07:00
Zhang Wen and GitHub
b009cae5a8
install: improve error message ( #7794 )
...
* friendly message install file to directory containing directory with same name
* install: test install file to directory containing directory with same name
2025-04-20 18:45:15 +02:00