Bug 214907 - Minstaken command output for setcap
Summary: Minstaken command output for setcap
Status: RESOLVED DUPLICATE of bug 214909
Alias: None
Product: Tools
Classification: Unclassified
Component: libcap (show other bugs)
Hardware: All Linux
: P1 enhancement
Assignee: Tools/Libcap default virtual assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-02 06:39 UTC by meitingli
Modified: 2021-11-02 12:33 UTC (History)
0 users

See Also:
Kernel Version: 4.19.90-2106.3.0.0095
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description meitingli 2021-11-02 06:39:43 UTC
Hello, 

When I executed below command:
$ setcap -n 0 cap_net_raw,cap_net_admin=eip /usr/bin/ping
$ setcap -n root cap_net_raw,cap_net_admin=eip /usr/bin/ping

The ouput displayed: invalid rootid!=0 of 'xxx', the message was mistaken the line did.'t wrap.

Could you check the parameter value, and set clearly output message?

And more details, please see:
https://gitee.com/src-openeuler/libcap/issues/I4FR7U?from=project-issue
Comment 1 Artem S. Tashkinov 2021-11-02 12:33:19 UTC

*** This bug has been marked as a duplicate of bug 214909 ***

Note You need to log in before you can comment on or make changes to this bug.