Bug 454438 - setcap - removing capabilities
Summary: setcap - removing capabilities
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: libcap
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 449984
TreeView+ depends on / blocked
 
Reported: 2008-07-08 14:32 UTC by Daniel Kopeček
Modified: 2008-07-08 15:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-08 15:23:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daniel Kopeček 2008-07-08 14:32:23 UTC
Description of problem:
setcap should have an option for removing any records regarding to capabilities.

Steps to Reproduce:
# getcap foo
# 
# setcap cap_chown+ep foo
# getcap foo
foo = cap_chown+ep
# setcap all= foo (or setcap all-epi foo, setcap = foo)
# getcap foo
foo =

Actual results:
# getcap foo
foo =

Expected results:
# getcap foo
#

Comment 1 Karsten Hopp 2008-07-08 15:13:47 UTC
are you looking for setcap -r foo   ?

Comment 2 Daniel Kopeček 2008-07-08 15:23:07 UTC
Yes, thanks.



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