Please add chown(1), chgrp(1)

Open
#79 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust

Research direction

The issue names the chown(1) and chgrp(1) command entry points and links the Windows Security Information documentation. Start by reading the OWNER_SECURITY_INFORMATION and GROUP_SECURITY_INFORMATION sections and examining how this repository implements other commands. Done means both commands support changing file owners and groups through the relevant Windows APIs.

Written by the indexing model from the issue text.

Description

C-feature E-help-wanted I-upstream P-backlog

Please add chown(1), chgrp(1) to microsoft coreutils.

Windows NT DOES support owner and owner_group for files, and it is used by various filesystems like NTFS, Windows NFSv3, ms-nfs41-client, Exceed/OpenText NFS, OpenZFS, BTRFS etc.
icacls also has a /takeown option

The relevant Windows APIs are
https://learn.microsoft.com/en-us/windows/win32/secauthz/security-information section "OWNER_SECURITY_INFORMATION" (user identify) and "GROUP_SECURITY_INFORMATION" (group identity).

Dominant language
Rust
Stars
5.2k
Forks
107
Avg merge
2d 19h
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/coreutils

All issues in microsoft/coreutils

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.