Re: invisible


Subject: Re: invisible
From: andrew morgan (morgan@orst.edu)
Date: Tue Jul 25 2000 - 00:56:46 EDT


On Mon, 24 Jul 2000, John Arends wrote:

> Some servers, at least the appleshare one that runs on top of novell, allow
> you to make files completely invisible to people who do not have permission
> to see them.
>
> The best I have been able to do with netatalk is set the permissions so a
> user does not have read, write, or execute, but the folders still show up,
> users are just not able to open them however.

This is not possible with the standard linux filesystem. Imagine a
directory /test1 with a subdirectory /test1/test2. How could we hide
test2 from a user? The only possible way is to set the permissions on
test1 to 700. No matter how you set the permissions on test2, you will
still be able to see it in a directory listing of test1, although you
won't be able to change into the test2 directory.

If you think I'm wrong, try to create a set of permissions in linux that
does what you want. You can only hide an entire directory listing, not a
single file/directory in that directory listing.

Now, it is possible that netatalk could be modified to interpret
permissions bits in such a way as to hide a single directory, but that is
not currently the case.

        Andy



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:31:36 EST