1 |
hasufell <hasufell@g.o> writes: |
2 |
|
3 |
> naota@g.o: |
4 |
>> fcaps.eclass is using group name 'root' which is not available on BSD |
5 |
>> system. Instead you can use "0", or $(id -g -n 0) if you'd prefer "group |
6 |
>> name" |
7 |
>> |
8 |
>> Index: fcaps.eclass |
9 |
>> =================================================================== |
10 |
>> RCS file: /var/cvsroot/gentoo-x86/eclass/fcaps.eclass,v |
11 |
>> retrieving revision 1.8 |
12 |
>> diff -u -r1.8 fcaps.eclass |
13 |
>> --- fcaps.eclass 27 Jun 2013 01:18:57 -0000 1.8 |
14 |
>> +++ fcaps.eclass 13 Apr 2014 00:16:44 -0000 |
15 |
>> @@ -80,7 +80,7 @@ |
16 |
>> |
17 |
>> # Process the user options first. |
18 |
>> local owner='root' |
19 |
>> - local group='root' |
20 |
>> + local group=$(id -g -n 0) |
21 |
>> local mode='4711' |
22 |
>> local caps_mode='711' |
23 |
>> |
24 |
>> |
25 |
> |
26 |
> # id -g -n 0 |
27 |
> id: 0: no such user |
28 |
|
29 |
Strange. Is this busybox id? /usr/bin/id from both sys-apps/coreutils (Linux) |
30 |
and sys-freebsd/freebsd-ubin (FreeBSD) just worked fine for me. |