From owner-freebsd-questions Mon Sep 9 19:32:35 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA07540 for questions-outgoing; Mon, 9 Sep 1996 19:32:35 -0700 (PDT) Received: from gdi.uoregon.edu (cisco-ts12-line6.uoregon.edu [128.223.150.138]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA07533 for ; Mon, 9 Sep 1996 19:32:32 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id TAA00252; Mon, 9 Sep 1996 19:31:12 -0700 (PDT) Date: Mon, 9 Sep 1996 19:31:11 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Jeffrey Itzstein cc: questions@FreeBSD.org Subject: Re: chmod, default rights??? flags ??? In-Reply-To: <2.2.32.19960909025101.00685360@fritz.fritzlink.net.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 9 Sep 1996, Jeffrey Itzstein wrote: > I have searched the man for the default flags. I became confused and have > stuffed a lot of them up. I issued a chmod 0007 * on most dirs followed by a > chmod ug+w * . Is there an easy way of reseting all rights back to square 1 > as it were, I have read the man section on install and considered issuing a > chmod 0755 * in all dirs. Any guidance will be greatly appreciated as I am > only a rank novice. I can still log in as root fine so all is not lost maybe. The "default" is set on a user-to-user basis. If you want to reset the permissions back to their *installed* defaults, check out mtree(1). The mtree files are in /etc/mtree. > I would welcome the source location of any good FreeBSD manuals, books or > help files. Thank you. http://www.freebsd.org Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major