Commit graph

13443 commits

Author SHA1 Message Date
Andrew Liebenow
b8150f5ba5
cp: show mode if target does not have S_IWUSR (PR #6696) (#6700)
* cp: show mode if target does not have S_IWUSR

If the target exists, and does not have the user write bit (S_IWUSR)
set, additional information should be added to the overwrite
confirmation prompt.

This should get the "i-2" test to pass. See
https://github.com/uutils/coreutils/issues/6658.

* cp: with -i, delete destination if needed

---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2024-09-18 10:23:54 +02:00
Jans Heikkinen
564dd47297
ln: allow final destination directory when using -nf (#5975)
Closes: #5974
2024-09-17 11:28:34 +02:00
Sylvestre Ledru
39bfa40acf
Merge pull request #5930 from cakebaker/test_fix_unused_import_on_redox
test: fix "unused imports" warning on Redox
2024-09-17 11:27:39 +02:00
Daniel Hofstetter
e2fbd3362f
Merge pull request #6708 from uutils/renovate/once_cell-1.x-lockfile
chore(deps): update rust crate once_cell to v1.20.0
2024-09-16 16:34:51 +02:00
Daniel Hofstetter
e8a5addbef
Merge pull request #6709 from uutils/renovate/unicode-segmentation-1.x-lockfile
chore(deps): update rust crate unicode-segmentation to v1.12.0
2024-09-16 16:33:49 +02:00
renovate[bot]
9ef64911e4
chore(deps): update rust crate unicode-segmentation to v1.12.0 2024-09-16 14:03:18 +00:00
renovate[bot]
daa8b8d8e3
chore(deps): update rust crate once_cell to v1.20.0 2024-09-16 14:03:10 +00:00
Daniel Hofstetter
c15a00a090
Merge pull request #6707 from uutils/renovate/serde-monorepo
chore(deps): update rust crate serde to v1.0.210
2024-09-16 16:01:08 +02:00
renovate[bot]
b62e7a8f05
chore(deps): update rust crate serde to v1.0.210 2024-09-16 12:59:39 +00:00
Daniel Hofstetter
983c6dc1a5
Merge pull request #6705 from uutils/renovate/rlimit-0.x-lockfile
chore(deps): update rust crate rlimit to v0.10.2
2024-09-16 14:41:01 +02:00
Daniel Hofstetter
c4d93bcf21
Merge pull request #6706 from uutils/renovate/selinux-0.x-lockfile
chore(deps): update rust crate selinux to v0.4.6
2024-09-16 14:40:28 +02:00
Daniel Hofstetter
a63fd67e63
Merge pull request #6704 from uutils/renovate/redox_syscall-0.x-lockfile
chore(deps): update rust crate redox_syscall to v0.5.4
2024-09-16 14:14:41 +02:00
renovate[bot]
89126a19f7
chore(deps): update rust crate selinux to v0.4.6 2024-09-16 12:08:04 +00:00
renovate[bot]
8800bd1659
chore(deps): update rust crate rlimit to v0.10.2 2024-09-16 12:07:57 +00:00
Daniel Hofstetter
21d251f9ef
Merge pull request #6703 from uutils/renovate/pretty_assertions-1.x-lockfile
chore(deps): update rust crate pretty_assertions to v1.4.1
2024-09-16 14:06:57 +02:00
Daniel Hofstetter
c99e6d0f42
Merge pull request #6701 from uutils/renovate/fundu-2.x-lockfile
chore(deps): update rust crate fundu to v2.0.1
2024-09-16 13:42:23 +02:00
renovate[bot]
812c1a4e7c
chore(deps): update rust crate redox_syscall to v0.5.4 2024-09-16 11:39:25 +00:00
renovate[bot]
9e21f09cca
chore(deps): update rust crate pretty_assertions to v1.4.1 2024-09-16 11:39:19 +00:00
Daniel Hofstetter
0942e22b76
Merge pull request #6702 from uutils/renovate/memmap2-0.x-lockfile
chore(deps): update rust crate memmap2 to v0.9.5
2024-09-16 13:38:04 +02:00
renovate[bot]
a6a98727d8
chore(deps): update rust crate memmap2 to v0.9.5 2024-09-16 09:45:33 +00:00
renovate[bot]
0201e6aedb
chore(deps): update rust crate fundu to v2.0.1 2024-09-16 09:45:25 +00:00
Daniel Hofstetter
811b32b49a
Merge pull request #6698 from uutils/renovate/vmactions-freebsd-vm-1.x
chore(deps): update vmactions/freebsd-vm action to v1.1.1
2024-09-16 07:19:19 +02:00
renovate[bot]
d969ebcd71
chore(deps): update vmactions/freebsd-vm action to v1.1.1 2024-09-15 18:22:13 +00:00
Sylvestre Ledru
a275080608
Merge pull request #6695 from cakebaker/uucore_fix_unused_import_warning_on_redox
uucore: fix "unused import" warning on Redox
2024-09-15 10:06:30 +02:00
Daniel Hofstetter
6aadfeaec5 uucore: fix "unused import" warning on redox 2024-09-14 16:14:31 +02:00
Daniel Hofstetter
4fb68119a8 test: fix "unused imports" warning on Redox 2024-09-14 09:36:18 +02:00
sreehari prasad
8a9fb84a8e
mv: gnu test case mv-n compatibility (#6599)
* uucore: add update control `none-fail`

* uucore: show suggestion when parse errors occurs because of an ambiguous value

* added tests for fail-none and ambiguous parse error

* uucore: ambiguous value code refractor

* cp: no-clobber fail silently and outputs skipped message in debug

* mv: add --debug support

* minor changes

---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2024-09-14 09:11:17 +02:00
Sylvestre Ledru
db402875f6
Merge pull request #6692 from cakebaker/coreutils_add_list_option_to_help
bin/coreutils: add `--list` to help output
2024-09-13 08:43:49 +02:00
Sylvestre Ledru
82d403ba55
Merge pull request #6693 from cakebaker/bump_selinux_sys_and_fts_sys
Bump `selinux-sys` and `fts-sys`
2024-09-13 08:43:39 +02:00
Daniel Hofstetter
ee47006229 deny.toml: remove itertools from skip list 2024-09-13 07:41:11 +02:00
Daniel Hofstetter
10d3e98eda Bump selinux-sys and fts-sys
selinux-sys from 0.6.9 to 0.6.12
fts-sys from 0.2.9 to 0.2.11
2024-09-13 07:38:18 +02:00
Daniel Hofstetter
f0b983ba8f bin/coreutils: add --list to help output 2024-09-12 14:55:05 +02:00
Anirban Halder
7430856575
`mkdir: added acl` permissions inheritance for subdirectories (#6676)
Mostly for linux for now
2024-09-11 21:35:25 +02:00
Daniel Hofstetter
ab13a80732
Merge pull request #6691 from uutils/renovate/davidanson-markdownlint-cli2-action-17.x
chore(deps): update davidanson/markdownlint-cli2-action action to v17
2024-09-11 07:07:00 +02:00
renovate[bot]
166e79c00d
chore(deps): update davidanson/markdownlint-cli2-action action to v17 2024-09-11 04:39:33 +00:00
Sylvestre Ledru
ac6b115bad
Merge pull request #6690 from LoricAndre/main
fix: add arg count for cp
2024-09-10 21:57:35 +02:00
LoricAndre
399384062d chore: add non-regression tests for cp arg count 2024-09-10 12:20:47 +02:00
LoricAndre
5b1d4d9bdc fix: add arg count for cp 2024-09-10 00:12:59 +02:00
Samuel Tardieu
af86aee6b8 cp: look for specific error messages in tests 2024-09-08 13:27:24 +02:00
Samuel Tardieu
dd9e7ad363 cp: treat an empty file name as a non-existing file 2024-09-08 13:27:24 +02:00
Sylvestre Ledru
22401f827b
Merge pull request #6681 from cakebaker/bump_windows_sys
Bump `windows-sys` & adapt `tail` to API change
2024-09-08 09:55:59 +02:00
Sylvestre Ledru
bdd45de7c8
Merge pull request #6687 from BenWiederhake/dev-drop-windows-code-coverage
ci: disable broken code coverage on windows
2024-09-08 09:55:42 +02:00
Sylvestre Ledru
4535f72040
Merge pull request #6685 from uutils/renovate/vmactions-freebsd-vm-1.x
chore(deps): update vmactions/freebsd-vm action to v1.1.0
2024-09-08 09:55:25 +02:00
Ben Wiederhake
12d2ce7b6e ci: disable broken code coverage on windows 2024-09-08 00:50:50 +02:00
renovate[bot]
1ab1cdc504
chore(deps): update vmactions/freebsd-vm action to v1.1.0 2024-09-07 22:37:12 +00:00
Samuel Tardieu
d627952fc8 mkdir: do not change mode of existing directories 2024-09-07 21:09:55 +02:00
Daniel Hofstetter
4229771108 tail: adapt to windows-sys API change 2024-09-07 16:49:25 +02:00
Daniel Hofstetter
3df015bbf5 Bump windows-sys from 0.48 to 0.59 2024-09-07 16:05:31 +02:00
Julian
b89a6255a9
dd: fix issue #5905 (different error msg from GNU) (#6622)
* Changed dd parsing error message to be in line with GNU dd

* Correct logic to make dd incorrect number error message fully compatible with GNU. Add test

---------

Co-authored-by: just-an-engineer <Julian.Beltz@zetier.com>
2024-09-07 15:34:03 +02:00
Anirban Halder
e4749381f9
`ls: Changed unwrap_or and or option handling to lazy evaluated unwrap_or_else and or_else` (#6609)
* Changed unwrap_or and option handling to lazy evaluation

* Clippy fixes
2024-09-07 15:05:54 +02:00