🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs.2bsd
Article #314

Re: Symlink() bug

#314
From: ddl
Date: Sun, 13 Jul 1986 23:01
19 lines
1218 bytes
In article <1500018@uokmet.UUCP>, root@uokmet.UUCP writes:
> 
> Subject: symlink bug
> Index:	sys/sys3.c 2.9bsd
> 
> Description:
> 	Symlink() always creates a link to "something", even if the original
> 	file doesn't exist.
> 
	This is not a bug; do not apply the fix shown.  It is often
necessary/useful to create symlinks to files that do not (yet) exist.
We do it all the time for log files which can be removed by cron.  In
any event, the proposed fix would not prevent symlinks which point
at nothing as it is still possible to remove the pointed-to file
after the fact.  If you are really worried about this, modify ln(1)
to check for the source file, but don't bother posting the change.

					Dan Lanciani
					ddl@harvard.*
Technical Details
Message-ID: <42@husc6.HARVARD.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utcs!mnetor!seismo!husc6!ddl
References: <1500018@uokmet.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utcs!mnetor!seismo!husc6!ddl
From: ddl@husc6.UUCP
Newsgroups: net.bugs.2bsd
Subject: Re: Symlink() bug
Message-ID: <42@husc6.HARVARD.EDU>
Date: Sun, 13-Jul-86 19:01:56 EDT
Article-I.D.: husc6.42
Posted: Sun Jul 13 19:01:56 1986
Date-Received: Sun, 13-Jul-86 21:17:11 EDT
References: <1500018@uokmet.UUCP>
Organization: Harvard University, Cambridge Mass
Lines: 19
Summary: not a bug