[Bug 275369] the ls command does not work correctly

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 27 Nov 2023 08:06:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275369

Li-Wen Hsu <lwhsu@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lwhsu@FreeBSD.org
             Status|New                         |Open

--- Comment #2 from Li-Wen Hsu <lwhsu@FreeBSD.org> ---
Thank you for your report. The behavior of the ls command you're observing
seems normal. The root user's directory (/root) contains files, so ls lists
them. In contrast, the regular user's directory (/home/test) is very possible
to be empty, which is why ls shows no output there. This is expected when a
directory has no files.

Please check to use the ls with different users to list the same directory, and
report if it outputs differently.

-- 
You are receiving this mail because:
You are the assignee for the bug.