Re: utilities in /usr/bin or /usr/sbin?

From: Rick Macklem <>
Date: Fri, 15 Jun 2018 01:12:25 +0000
Rodney W. Grimes wrote:
?> On Thu, Jun 14, 2018 at 2:15 PM, Rick Macklem <> wrote:
>> > Hi,
>> >
>> > I have  three new utilities that are mainly useful for managing the pNFS
>> > server
>> > committed as r335130.
>> >
>> > In the projects tree, I have them in /usr/bin and man section 1. However,
>> > since they are mostly useful to a sysadmin managing the pNFS service,
>> > I'm thinking that maybe they should be in /usr/sbin with man pages in
>> > section 8.
>> >
>> > Which of these sounds correct?
>> >
>> /usr/sbin is the more proper location if they are truly admin-only commands.
>Dont these commands require root priv to work?
>If so they are certainly /usr/sbin material.
Yea, this is a little amusing.
The first of these three utilities would just get an extended attribute and
display the info (it's binary) and I didn't see any reason for this being
restricted to root, so I didn't do that in the utility.

However, I just realized I had never tried it as non-root and it doesn't work
as non-root (apparently get extended attribute of "system" namespace is
restricted to root).

So, I think it's settled. They should all go in /usr/sbin.

Thanks everyone for your comments, rick
Received on Thu Jun 14 2018 - 23:12:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:16 UTC