Deliberate differences from upstream: review list

オープン
#388 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
rust
領域
cli

調査の方向性

Start by reading the listed behavior differences and the referenced man page, docs/man/usermod.8.md; compare them with the Ubuntu 26.04 passwd reference named in the issue. The scope spans several commands and does not specify which difference to change, so first identify a specific behavior to challenge and clarify the intended outcome. Done means the challenged differences have a decided outcome; the issue names no tests or implementation files.

索引モデルが issue の本文から書いたものです。

説明

These differ from upstream on purpose and are documented in the man pages. This issue is the place to challenge any of them.

usermod (docs/man/usermod.8.md)

  • The group of a hard link to someone else's file is left alone.
  • A trailing slash on a symlinked home exits 12 and walks nothing.
  • The home walk continues after an error, then exits 12.
  • Entries deleted or replaced mid-walk exit 0.
  • A cross-filesystem -m with -u or -g clears setuid and setgid bits.
  • A home the user does not own is moved by -m -u but not walked.
  • -p with a colon writes nothing, where upstream leaves partial changes.

groupadd

  • -p with a colon writes nothing.

useradd

  • --badname "" exits 1, where upstream writes an entry with no name.

pwck and grpck

  • No repair prompts; comments and blank lines are kept.
  • -s checks first and will not sort a file with problems.
  • A missing file exits 3, not 4.
  • pwck only: a relative home or shell is a problem, and a shadow mode warning goes to stderr.

-Z

  • Refused with -P.

Reference: Ubuntu 26.04 passwd 1:4.17.4-2ubuntu3. shadow-rs: main at 92ac29b.

主要言語
Rust
スター
18
フォーク
10
平均マージ
1日 15分
マージ済み PR(30日)
37

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

uutils/shadow のほかの issue

uutils/shadow の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。