Re: How to hide . folders

Ken Moffat
2004-08-05T22:15:04Z

On Thu, 5 Aug 2004, Eve Atley wrote:

>
> I have a folder, /home/shared, which contains directories that are literally
> 'shares' for a small network. I've set up permissions in which a person can
> or cannot access these directories based on being a group member.
>
> When the person logs in via SSH, they see these folders AND all sorts of
> 'grayed out' folders, usually . directories. How can I get it to show ONLY
> the folders I want them to see and none of the system / critical files,
> without using client-side 'don't show hidden files and folders'?
>
> Thanks,
> Eve
>

I think you're omitting something in your description - if I log in to
another box on my network using ssh, I get a normal terminal session and
I'm in my ~/ directory, either from a console or from an xterm. "grayed
out" doesn't fit with that, it sounds as if they are using some sort of
graphical front-end. And therefore, it sounds as if it *is* a
client-side "don't show hidden..." issue. Or tell them to run ssh from
within a(n) aterm|gterm|konsole|xterm.

AFAIK there is no way of hiding non-hidden directories such as /etc and
/usr/bin - normal users will have read access to these, so they can use
e.g. /usr/bin/zgrep as an example script.

Somewhat similar to when you save from a graphical browser and blunder
around the directory hierarchy trying to find the right place to save
something : system directories show up if you go too far up the
hierarchy, but permissions should prevent you writing in them.

Ken
--
das eine Mal als Tragödie, das andere Mal als Farce