Skip to content

Conversation

@mknos
Copy link
Contributor

@mknos mknos commented Mar 5, 2025

  • The supported options are -R/-L/-H/-P, and grouping of options is allowed (e.g. -LP)
  • When adding an unexpected option letter to a group, the error message was misleading
  • perl chmod -Rp reported "invalid option -- pR", but R is a valid option
  • Fix this by validation the option letters after the option string has been split into a single letters
%perl chmod -Rp 0 0 0 0 0 0 0 0 0 0
chmod: invalid option -- 'p'
usage: chmod [-R [-H | -L | -P]] mode file...

* The supported options are -R/-L/-H/-P, and grouping of options is allowed (e.g. -LP)
* When adding an unexpected option letter to a group, the error message was misleading
*  "perl chmod -Rp" reported "invalid option -- pR", but R is a valid option
* Fix this by validation the option letters after the option string has been split into a single letters
@mknos mknos temporarily deployed to housekeeping March 5, 2025 03:29 — with GitHub Actions Inactive
@mknos mknos had a problem deploying to automated_testing March 5, 2025 03:29 — with GitHub Actions Error
@mknos mknos had a problem deploying to automated_testing March 5, 2025 03:29 — with GitHub Actions Failure
@mknos mknos temporarily deployed to automated_testing March 5, 2025 03:29 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing March 5, 2025 03:29 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing March 5, 2025 03:29 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing March 5, 2025 03:29 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing March 5, 2025 03:29 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing March 5, 2025 03:29 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing March 5, 2025 03:29 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing March 5, 2025 03:29 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing March 5, 2025 03:29 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing March 5, 2025 03:29 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing March 5, 2025 03:29 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing March 5, 2025 03:29 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing March 5, 2025 03:29 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing March 5, 2025 03:29 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing March 5, 2025 03:29 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing March 5, 2025 03:29 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing March 5, 2025 03:29 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing March 5, 2025 03:29 — with GitHub Actions Inactive
@github-actions github-actions bot added Priority: low get to this whenever Status: needs verification issue needs to be verified Type: enhancement improve a feature that already exists Type: bug an existing feature does not work Program: chmod The chmod program labels Mar 5, 2025
@github-actions github-actions bot requested a review from briandfoy March 5, 2025 03:30
@coveralls
Copy link

coveralls commented Mar 5, 2025

Pull Request Test Coverage Report for Build 13667880420

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.9%) to 70.088%

Totals Coverage Status
Change from base Build 13656102414: -0.9%
Covered Lines: 396
Relevant Lines: 565

💛 - Coveralls

@briandfoy briandfoy self-assigned this Mar 5, 2025
@briandfoy briandfoy merged commit 4d08c59 into briandfoy:master Mar 5, 2025
21 of 24 checks passed
@github-actions github-actions bot added Status: accepted The fix is accepted and removed Status: needs verification issue needs to be verified Priority: low get to this whenever labels Mar 5, 2025
@briandfoy
Copy link
Owner

changes: show which options were invalid

@briandfoy briandfoy added Status: released there is a new release with this fix and removed Status: accepted The fix is accepted labels Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Program: chmod The chmod program Status: released there is a new release with this fix Type: bug an existing feature does not work Type: enhancement improve a feature that already exists

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants