Date: Sun, 6 Oct 2002 01:16:48 -0400
From: Jeff Johnson <jbj@redhat.com>
Reply-To: rpm-list@redhat.com
To: rpm-list@redhat.com
Subject: rh-rpm] Re: how to restore original attributes of an rpm?
On Sat, Oct 05, 2002 at 05:09:29PM -0400, Robert P. J. Day wrote:
>
> I've been messing with the owner/group attributes of
> some /dev files, and i would just like to restore them to their
> original values. what's the acceptable way to do this?
> I mean, besides just cramming the rpm back on the system
> with --force or something? i'm sure there's a more subtle
> way.
>
$ sudo rpm --setperms dev $ sudo rpm --setugids dev