Why does rpm command with option --setperms package name not working as expected?

Solution Verified - Updated -

Issue

  • Why does rpm command with option --setperms package name not working as expected?
# rpm --setperms cobbler
  • It still shows wrong permissions.
# rpm -V cobbler
.M.......    /etc/cobbler
.M.......  c /etc/cobbler/cheetah_macros
.M.......  c /etc/cobbler/dhcp.template
.M.......  c /etc/cobbler/dnsmasq.template
SM5....T.  c /etc/cobbler/modules.conf
.M.......  c /etc/cobbler/named.template

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.