Skip to content

userdel -r removes a mail spool that is not the user's #400

In review

Description

@pierre-warnier

When /var/mail/LOGIN is a symlink to a file that LOGIN does not own, Ubuntu's userdel -r refuses: "not owned by LOGIN, not removing", exit 12. shadow-rs unlinks it.

Reference: Ubuntu 26.04 passwd 1:4.17.4-2ubuntu3. Found while working on #396.

Activity

  1. added a commit that references this issue on Nov 8, 2026
    f603a28
  2. added 2 commits that reference this issue on Dec 5, 2026
    13f6448
    95aa6c0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions