NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: /usr/bin/passwd suid



On Wed, Oct 08, 2014 at 10:06:58AM +0200, Petar Bogdanovic wrote:
> My upgrade procedure is simple and always the same..

Does it include manually extracting the sets? Maybe you did something
like:

   tar xfz base.tgz

but you need to add "p", i.e.:

   tar xpfz base.tgz

to (p)reserve the permissions. You can fix this by re-extracting the sets,
or by using mtree(8) and the data in /etc/mtree (not tested, something like:
cat /etc/mtree/* | mtree -U)

Martin


Home | Main Index | Thread Index | Old Index