Re: Proposal: restrict link(2)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 16 Dec 1996 20:21:36 +0000 (GMT)


> Well, there are other possible solutions, but they'd require
> a lot more work. COnsider extending ext2fs to include, in each file's
> metadata, a list (possibly long!) of the inodes of all the directories
> containing hard links to the file. There would be excruciating race
> conditions, of course, but with such a scheme you might:

This is all old old hat from the BSD world. The conventional solution
is that when there seems to be a problem a quick pass with find, rm
and userdel fixes the issue ;)

Alan