From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10952f,8bebd5e0e8e16277 X-Google-Attributes: gid10952f,public X-Google-Thread: f72b0,8bebd5e0e8e16277 X-Google-Attributes: gidf72b0,public X-Google-Thread: f678f,8bebd5e0e8e16277 X-Google-Attributes: gidf678f,public From: flaps@dgp.toronto.edu (Alan J Rosenthal) Subject: Re: Performing hard links to directories Date: 1999/02/26 Message-ID: <1999Feb26.162532.24851@jarvis.cs.toronto.edu>#1/1 X-Deja-AN: 448924145 X-Nntp-Posting-Host: explorer.dgp.toronto.edu References: <36d438f7.12866181@news.unilim.fr> Followup-To: poster Newsgroups: comp.unix.misc,comp.unix.osf.misc,comp.security.unix 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.