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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content