bug#79644: Bug in command test?

Pádraig Brady <[email protected]>
Newsgroups gmane.comp.gnu.core-utils.bugs
Message-ID <[email protected]>
tag 79644 notabug
close 79644
stop

Details below...

On 17/10/2025 08:11, Delfin (gMail) wrote:
> Hello.
> 
> I am using Ubuntu 26.10 and after upgrading from 26.04 the following
> command does not work properly with acls, previously it worked without
> problem.
> 
> *sudo -u usuariox test -w "/Datos/INFORMES 2026"; echo "$?"*
> 
> In Ubuntu 26.04, the output was 0, and in Ubuntu 26.10, the output is 1.
> User *usuariox* has write permissions with ACLs.
> 
> Is this a bug or what's happening?
> 
> Thanks for your help.

I think this might be a uutils issue.
test(1) is tricky to identify since it doesn't support --version.
Also the shell's builtin test(1) is usually invoked,
but since you're using sudo to exec the command,
the shell's version will not be used.

You could confirm with:

   sudo -u usuariox gnutest -w "/Datos/INFORMES 2026"; echo "$?"


If that does work, then I'd file an issue at:
https://github.com/uutils/coreutils/issues

thanks,
Padraig.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.