Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2008 11:36:32 +0200
From:      Jeroen Ruigrok van der Werven <asmodai@in-nomine.org>
To:        Mike Price <bipolor@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: How do I unchown a directory after I: chown -R /etc ???
Message-ID:  <20080930093632.GU30869@nexus.in-nomine.org>
In-Reply-To: <a15f9fba0809300225p2b5f173fged166cbb7efed137@mail.gmail.com>
References:  <a15f9fba0809300225p2b5f173fged166cbb7efed137@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-On [20080930 11:26], Mike Price (bipolor@gmail.com) wrote:
>How do I unchown a directory after I: chown -R /etc

There is no unchown. You either rechown with the correct users or you use
mtree with one of the dist files in /etc/mtree to recreate the directory
structure with the correct rights/users.

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
What's in a name? That which we call a rose by any other name would
smell as sweet...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080930093632.GU30869>