[Bug 189057] [PATCH] Adding an option to ls(1) to display file permissions in octal

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 2 22:25:35 UTC 2015


Chris Hutchinson <portmaster at bsdforge.com> changed:

           What    |Removed                     |Added
                 CC|                            |portmaster at bsdforge.com

--- Comment #3 from Chris Hutchinson <portmaster at bsdforge.com> ---
OK. Just found this pr(1).
I'd like to weigh in on this...
I was the one who started this mess, by making a request in the FreeBSD
forums. As memory serves, I asked if there was any incantation of ls(1)
that would return the OCTAL properties of a file, and directory. The
answer was no.
But, "Fonz" quickly hacked up a quick diff(1)/patch(1) that accomplished
exactly what I had asked about -- Thanks again, Fonz!

That's nice. But what's your point?

Point is; in any event this is a nice option. This can be
considered especially helpful for *NIX new-commers, as it can
be difficult at first to figure out the permissions scheme --
especially those coming from Microsoft products. This "feature"/
option adds precious little *extra* code, and does NOT violate POSIX.
It is more intuitive (for most) to first look to ls(1) for this
type of information, than to look otherwise.
Perhaps better; is there any strongly compelling reason that this
option should *not* be added to ls(1)?

Thank you for your indulgence, and thank you again, Fonz.


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

More information about the freebsd-bugs mailing list