athityakumar / athityakumar/colorls

SELinux -Z option integration

Open
#326 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Ruby
Stars
5.1k
Forks
396
PR merge metrics
No merged PRs in 30d

Description

### Description

Thanks for opening this issue. Add a brief description of what this issue is, and how to recreate it. Do tag the relevant issue(s) and PR(s) below. If required, add some screenshot(s) to showcase the issue.

- Relevant Issues : (none)
- Relevant PRs : (none)
- Type of issue :
- [ ] Installation
- [ ] Font-related
- [X] Feature request
- [ ] Bug in existing feature
- [ ] Developer mode : Code quality / Tests / Documentation

Hi,

I've recently found that's not possible to pass -Z arguments to the command, like for example

```bash
ls -lrtZ /home/$USER | grep -v $(matchpathcon /home/$USER)
```

Could it be possible to add it?

Thanks!

Contributor guide

Open the contributing guide

Research direction

No implementation files or tests are named. Start by tracing how colorls parses and forwards ls options, then verify the command shown in the issue works with -Z; done means SELinux-related -Z arguments are accepted and passed through without breaking normal options.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.