Skip to content

Fix stat variant detection for uutils on newer Ubuntu#330

Merged
kke merged 1 commit into
mainfrom
fix-stat-variant-detection
May 4, 2026
Merged

Fix stat variant detection for uutils on newer Ubuntu#330
kke merged 1 commit into
mainfrom
fix-stat-variant-detection

Conversation

@kke
Copy link
Copy Markdown
Contributor

@kke kke commented May 4, 2026

uutils stat (used on newer Ubuntu) lists the flag as --format without =, causing the GNU stat detection to fail and fall back to BSD mode incorrectly. Drop the = suffix so both GNU coreutils and uutils are matched.

Fixes #328 (backport of release-0.x fix from PR #329)

uutils stat (used on newer Ubuntu) lists the flag as --format without =,
causing the GNU stat detection to fail and fall back to BSD mode incorrectly.
Drop the = suffix so both GNU coreutils and uutils are matched.

Fixes #328 (backport of release-0.x fix from PR #329)

Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
@kke kke force-pushed the fix-stat-variant-detection branch from 182e27a to 85138f4 Compare May 4, 2026 08:18
@kke kke marked this pull request as ready for review May 4, 2026 08:25
@kke kke merged commit ba485c5 into main May 4, 2026
10 of 11 checks passed
@kke kke deleted the fix-stat-variant-detection branch May 4, 2026 08:27
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.

[release-0.x] fails to get stats of parent directory trying to upload file on Ubuntu 26.04

1 participant