NetBSD-Bugs archive

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

standards/46956: "ls -A" violates POSIX-2008



>Number:         46956
>Category:       standards
>Synopsis:       "ls -A" violates POSIX-2008
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    standards-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 14 09:00:01 +0000 2012
>Originator:     Aleksey Cheusov
>Release:        NetBSD-*.*
>Organization:
home
>Environment:
>Description:
According to man page -A option is always set in ls(1) for root user.
This violates POSIX-2008
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ls.html

Despite -A option behaves like this at least since 1993, I propose
to remove this POSIX violation.
Those who need it may set 'alias ls=ls -A' in their profiles.

In my opinion this

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ff1f883e7d9ded50242023cf33d508f7e8511298

is a bad solution, actually not a solution at all.

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index