You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 "$?"
It's just a guess, but permissions set with setfacl (or any other method beyond file mode) may not be consulted by uutils test.
gnu test uses the access syscall which takes into account whatever permissions the OS will apply. uutils test uses statx and then presumably makes some checks related to the file's mode, owner & group, which gives an incomplete view of permissions on a modern Linux system.
Activity
jepler commentedon Oct 27, 2025
Reproduced in ubuntu:25.10 in docker; host computer is Debian Trixie amd64.
aclandstracepackages were added to the base system.It's just a guess, but permissions set with setfacl (or any other method beyond file mode) may not be consulted by uutils test.
gnu test uses the
accesssyscall which takes into account whatever permissions the OS will apply. uutils test usesstatxand then presumably makes some checks related to the file's mode, owner & group, which gives an incomplete view of permissions on a modern Linux system.vs