Rodney W. Grimes wrote:
?> On Thu, Jun 14, 2018 at 2:15 PM, Rick Macklem <rmack...@uoguelph.ca> 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
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to