Correct Permissions for /var

Ed Wilts ewilts at ewilts.org
Thu Aug 12 18:24:27 UTC 2004


On Thu, Aug 12, 2004 at 12:59:52PM -0500, Kirk Taylor wrote:
> Could someone with a Redhat 9 system run the following commands (as root 
> I guess) and show me the results?  I got a little slippery with the 
> keyboard altered my permissions.  I've got everything working, but I 
> want to make sure things are the way they should be.  It doensn't look 
> like I altered ownerships, just permissions.

First, find out which package created that directory:

# rpm -qf /var

Now verify that with what rpm really wants:

# rpm --verify --noscripts filesystem

There's a --setperms to fix things up again if you need it.  man rpm for
more info.

        .../Ed

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program





More information about the redhat-list mailing list