Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 1997 11:46:00 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Bill Sandiford <bill@duey.interlinks.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Hidden Files
Message-ID:  <Pine.BSF.3.96.971117114457.10644J-100000@gdi.uoregon.edu>
In-Reply-To: <Pine.BSF.3.96.971117134043.279A-100000@duey.interlinks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971117114457.10644J-100000>