Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 1996 02:21:56 +0300 (EET DST)
From:      lamuh@stoat.riga.lv
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/1205: ln -F dir1 dir2
Message-ID:  <199605152321.CAA00516@stoat.riga.lv>
Resent-Message-ID: <199605152320.QAA02092@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         1205
>Category:       bin
>Synopsis:       hardlinked directories can be created but not deleted
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 15 16:20:02 PDT 1996
>Last-Modified:
>Originator:     bofh
>Organization:
>Release:        FreeBSD 2.2-CURRENT i386
>Environment:

	

>Description:

	theres an undocumented option to ln(1), it is ``-F''.
	it allows to hardlink directories. seems that there is no
	way to delete these directories. so, fsck(8) should be done
	three times to correct this problem.

>How-To-Repeat:

	# cd /tmp
	# mkdir dir1
	# ln -F dir1 dir2
	# rmdir dir1
	rmdir: dir1: Directory not empty
	#

>Fix:
	
	i have no ideas how to fix it.
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605152321.CAA00516>