uutils / uutils/coreutils

The test command does not work properly

Open
#8,960 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

U - test
Dominant language
Rust
Stars
24.1k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
365

Description

Hello.
I'm using Ubuntu 25.10, and I've detected a possible bug where the test command isn't working properly with ACLs. In Ubuntu 25.04, the command worked correctly.

The command is as follows, it should return 0 but it returns 1.
sudo -u usuariox test -w "/Datos/INFORMES 2026"; echo "$?"

In Ubuntu 25.04, the output was 0, and in Ubuntu 25.10, the output is 1.
User usuariox has write permissions with ACLs.

I have tried the gnutest command as an alternative and it works fine.
sudo -u usuariox gnutest -w "/Datos/INFORMES 2026"; echo "$?"

Please review it.

Thank you very much.

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

Start by reproducing sudo -u usuariox test -w "/Datos/INFORMES 2026" on Ubuntu 25.10 and comparing it with Ubuntu 25.04 and gnutest. Trace the test command entry point and its ACL-related write-permission check; the fix is complete when the command returns 0 for the reported ACL case without regressing other permission checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, rust, ubuntu
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.