Bug 454438

Summary: setcap - removing capabilities
Product: [Fedora] Fedora Reporter: Daniel Kopeček <dkopecek>
Component: libcapAssignee: Karsten Hopp <karsten>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: pvrabec
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-08 15:23:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 449984    

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.