From root@dosbox.ssdl.com  Sat Nov 19 20:15:27 1994
Received: from dosbox.ssdl.com (dosbox.ssdl.com [192.111.251.34]) by freefall.cdrom.com (8.6.8/8.6.6) with ESMTP id UAA08579 for <FreeBSD-gnats-submit@freefall.cdrom.com>; Sat, 19 Nov 1994 20:15:23 -0800
Received: (from root@localhost) by dosbox.ssdl.com (8.6.9/8.6.9) id WAA11663; Sat, 19 Nov 1994 22:16:08 -0600
Message-Id: <199411200416.WAA11663@dosbox.ssdl.com>
Date: Sat, 19 Nov 1994 22:16:08 -0600
From: gil@ssdl.com
Reply-To: gil@ssdl.com
To: FreeBSD-gnats-submit@freefall.cdrom.com
Subject: symlinks get date of last file touched in directory
X-Send-Pr-Version: 3.2

>Number:         23
>Category:       misc
>Synopsis:       symlinks get the date of last file touched in directory
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    core (FreeBSD core team)
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 19 20:20:01 1994
>Closed-Date:    Tue Nov 22 05:03:06 PST 1994
>Last-Modified:
>Originator:     Gil Kloepfer
>Release:        FreeBSD 2.0.3-Alpha3 i386
>Organization:
Southwest Systems Development Labs
>Environment:

	FreeBSD dosbox.ssdl.com 2.0-ALPHA FreeBSD 2.0-ALPHA #0:
	Tue Nov 15 19:34:05 CST 1994

	486DX2/66 8MB / Connor IDE 420MB

>Description:

	Directory date/time on symbolic links change whenever a file is
	created in the directory where the symbolic link resides

>How-To-Repeat:

	Script started on Sat Nov 19 22:10:27 1994
	dosbox# ln -s /bin/sh foobar
	dosbox# ls -l foobar
	lrwxr-xr-x  1 root  wheel  7 Nov 19 22:10 foobar -> /bin/sh
	dosbox# date
	Sat Nov 19 22:10:36 CST 1994
	dosbox# ls -l foobar
	lrwxr-xr-x  1 root  wheel  7 Nov 19 22:10 foobar -> /bin/sh
	dosbox# date
	Sat Nov 19 22:11:46 CST 1994
	dosbox# ls -l foobar
	lrwxr-xr-x  1 root  wheel  7 Nov 19 22:10 foobar -> /bin/sh
	dosbox# date
	Sat Nov 19 22:12:32 CST 1994
	dosbox# touch x
	dosbox# ls -l foobar
	lrwxr-xr-x  1 root  wheel  7 Nov 19 22:12 foobar -> /bin/sh
	dosbox# ls -l x
	-rw-rw-r--  1 root  wheel  0 Nov 19 22:12 x
	dosbox# exit
	Script done on Sat Nov 19 22:12:50 1994

>Fix:
	
	Not known currently.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: paul 
State-Changed-When: Tue Nov 22 05:03:06 PST 1994 
State-Changed-Why:  
This is actually a behavioural change, not a bug.

In the BSD 4.4 UFS, symbolic links are allowed to exist only in the
directory information.

Therefore, it is correct to equate the time stamps with those on the
directory itself (permissions and ownership, too).

This isn't always desirable, but it's not a bug.

This is probably *the* primary FS incompatability.

(Terry Lambert)

>Unformatted:




