Ask Your Question

unexpected behavior of 'rpm --setperms sudo'

asked 2019-04-20 13:00:28 -0500

Sudoer gravatar image

rpm --setperms sudo on a fedora 29 fresh installation sets /usr/bin/sudo's permissions to 0777; i confirmed it by reinstalling sudo using dnf, which will correctly set the permissions to 4111 and then rerunning rpm --setperms sudo will change it back to 0777.

on fedora 28 rpm --setperms sudo behaves normally and correctly and sets the permissions of sudo binary to 4111.

was there a change in fedora 29 in this regard? is this to be expected? or it's a bug with sudo package or something else?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-04-21 09:16:04 -0500

kurohime7511 gravatar image

updated 2019-04-27 06:20:06 -0500

I tried to reset the permission of the package, and had the same experience.Maybe it is to be expected. mathway

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2019-04-20 13:00:28 -0500

Seen: 111 times

Last updated: Apr 27 '19