Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] rpm changes file ownership in root dir
Date: Thu, 04 May 2017 01:34:14
Message-Id: d041bbc0-1352-fe24-de93-77f39ac49e23@sys-concept.com
1 I was installing Brother printer driver on Gentoo (via rpm) this is the only available option:
2 http://support.brother.com/g/b/downloadhowto.aspx?c=us&lang=en&prod=hll5200dw_us_eu_as&os=127&dlid=dlf102556_000&flang=4&type3=560
3
4 rpm -ihv --nodeps (lpr-drivername)
5 rpm -ihv --nodeps (cupswrapper-drivername)
6
7 It worked OK but I've noticed the rpm change ownership of "usr" in "/" dir.
8 from:
9 drwxr-xr-x 15 root root 4096 Sep 10 2014 usr
10
11 to:
12 drwxr-xr-x 15 thelma users 4096 Sep 10 2014 usr
13
14 Anybody know how to prevent it, or force it to use "root:root"
15
16 --
17 Thelma