From owner-freebsd-questions Mon Nov 17 11:46:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA07531 for questions-outgoing; Mon, 17 Nov 1997 11:46:26 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA07526 for ; Mon, 17 Nov 1997 11:46:24 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.7) with SMTP id LAA10723; Mon, 17 Nov 1997 11:46:00 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Mon, 17 Nov 1997 11:46:00 -0800 (PST) From: Doug White Reply-To: Doug White To: Bill Sandiford cc: freebsd-questions@FreeBSD.ORG Subject: Re: Hidden Files In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 17 Nov 1997, Bill Sandiford wrote: > > Is there anyway to hide files or directories from users. I have read > something about a .hidden file but I am not sure how that works. You could unset read and execute permissions on the target directory, and read perms on the target file. Also, any file beginnging with a dot is not displayed by an `ls' unless you use the -a option. Ie, `.cshrc' is hidden but `cshrc' isn't. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major