Bug 454438 - setcap - removing capabilities
setcap - removing capabilities
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: libcap (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Karsten Hopp
Fedora Extras Quality Assurance
:
Depends On:
Blocks: 449984
  Show dependency treegraph
 
Reported: 2008-07-08 10:32 EDT by Daniel Kopeček
Modified: 2008-07-08 11:23 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-07-08 11:23:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Daniel Kopeček 2008-07-08 10:32:23 EDT
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 11:13:47 EDT
are you looking for setcap -r foo   ?
Comment 2 Daniel Kopeček 2008-07-08 11:23:07 EDT
Yes, thanks.

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