1 |
On Wed, 25 Nov 2015 11:18:34 -0800 |
2 |
Daniel Campbell <zlg@g.o> wrote: |
3 |
|
4 |
> -----BEGIN PGP SIGNED MESSAGE----- |
5 |
> Hash: SHA256 |
6 |
> |
7 |
> On 11/25/2015 10:17 AM, Michał Górny wrote: |
8 |
> > On Wed, 25 Nov 2015 19:05:13 +0100 Ulrich Mueller <ulm@g.o> |
9 |
> > wrote: |
10 |
> > |
11 |
> >>>>>>> On Wed, 25 Nov 2015, Kristian Fiskerstrand wrote: |
12 |
> >> |
13 |
> >>> On 11/25/2015 06:10 PM, William Hubbs wrote: |
14 |
> >>>> I would like for us to discuss adding the sbin directories to |
15 |
> >>>> PATH for all users. |
16 |
> >> |
17 |
> >>> This sounds strange to me, if it should be executable by all |
18 |
> >>> users it likely shouldn't be in sbin in the first place but in |
19 |
> >>> bin. In any case; I don't see any good reason to change the |
20 |
> >>> traditional behavior of sbin only being in path for root. |
21 |
> >> |
22 |
> >> +1 |
23 |
> >> |
24 |
> >> The sbin directories are separate from bin for the very reason |
25 |
> >> that binaries in there (which are only usable with elevated |
26 |
> >> privileges) can be excluded from normal users' PATH. |
27 |
> > |
28 |
> > Binaries like blkid, btrfs, getcap, sensors, swapon and various |
29 |
> > tools from net-tools, iputils, wireless-tools... and I really have |
30 |
> > better things to do than list all tools that landed in sbin for |
31 |
> > some fun reason yet work for normal users. |
32 |
> > |
33 |
> > But well, I'm the weird one wanting to be able to check how much |
34 |
> > free space I've got without going through hoops. |
35 |
> > |
36 |
> |
37 |
> Maybe I'm missing something, but `df` is in /bin. Do you use something |
38 |
> else to determine free space? |
39 |
|
40 |
btrfs fi df |
41 |
|
42 |
-- |
43 |
Best regards, |
44 |
Michał Górny |
45 |
<http://dev.gentoo.org/~mgorny/> |