NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/57892: ls(1) prints misleading error message when fts_name is empty



>Number:         57892
>Category:       bin
>Synopsis:       ls(1) prints misleading error message when fts_name is empty
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 29 22:55:00 +0000 2024
>Originator:     Ricardo Branco
>Release:        NetBSD 10.0_RC3
>Organization:
>Environment:
>Description:

>How-To-Repeat:
To reproduce:

$ mkdir /tmp/a
$ chmod 000 /tmp/a
$ ls  /tmp/a/
ls: : Permission denied
$ ls /tmp/a
ls: a: Permission denied
>Fix:
Fixed in FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=107515

Fix: https://github.com/NetBSD/src/pull/28



Home | Main Index | Thread Index | Old Index