microsoft / microsoft/WSL

chattr/lsattr installed but not working

Open
#670 4 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

  • Description: chattr and lsattr are installed but aren't working
  • Expected results: either they should work, or they shouldn't get installed?
  • Actual results (just an example)

$ cd ~/.ssh
$ chattr +i authorized_keys
chattr: Inappropriate ioctl for device while reading flags on authorized_keys

  • Windows build number: 14390
  • Steps / commands required to reproduce the error: run chattr or lsattr at prompt

This isn't a high priority for me. I'm just reporting it for completeness.

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.

Research direction

Reproduce the issue by running chattr and lsattr at the prompt, including chattr +i authorized_keys in ~/.ssh. Investigate how WSL handles the filesystem attribute operations these commands use; done means the commands work as expected or are no longer installed when unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.