Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: flaps@dgp.toronto.edu (Alan J Rosenthal)
Subject: Re: Performing hard links to directories
Date: 1999/02/26	[thread overview]
Message-ID: <1999Feb26.162532.24851@jarvis.cs.toronto.edu> (raw)
In-Reply-To: 36d438f7.12866181@news.unilim.fr

olivierrobert@minitel.net (Olivier ROBERT) writes:
>Is it possible to create a hard link to a directory?

It's not a good idea anyway because you can put some things like "find" into
infinite loops.  The filesystem is supposed to be a tree and some programs
rely on that.

You'll also find that fsck will "fix" it.

>I need this because I want to grant access to a user in a directory
>which belongs to another user in the same group, but I don't want
>everyone in the group to be able to access to that directory.

Then make a new group.  Users can be in multiple groups.


Someone suggested giving them the same uid.  This is a very bad idea.  Giving
two accounts the same uid basically makes them the same account.  Group
access is precisely what groups are for.



  parent reply	other threads:[~1999-02-26  5:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-24  5:00 Performing hard links to directories Olivier ROBERT
1999-02-24  5:00 ` Michael Tosch
1999-02-24  5:00 ` Ron Dilley
1999-02-26  5:00   ` Olivier ROBERT
1999-02-26  5:00     ` Tony Fitzgerald
1999-02-25  5:00 ` void
1999-02-25  5:00   ` Christopher J. Mattern
1999-02-26  5:00     ` Olivier ROBERT
1999-02-25  5:00   ` Nick Maclaren
1999-02-26  5:00 ` Alan J Rosenthal [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-02-26  5:00 Tony Langdon
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox