Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
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


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.