forked from rpm-software-management/rpm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add popt-based options --setcaps and --restore (RhBug:1550745)
--setcaps resets capabilities of package files. Because the opotion is popt-based it has some drawbacks - it does not know about %ghost files, file states, etc. --restore regenerate owner, group, permissions and capabilities of package files. It uses 3 already defined options in the correct order. rpm --setugids is used first of all, because it may change permissions or capabilities. rpm --setperms is used before rpm --setcaps, but the opposite order is right too.
- Loading branch information
Showing
2 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters