🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #520

Re: Unlinking "."

#520
From: ron
Date: Thu, 02 Apr 1987 20:28
12 lines
1007 bytes
In article <1059@cci632.UUCP>, rrw@cci632.UUCP (Rick Wessman) writes:
> Is it possible under vanilla System V to unlink "."? We have
> the source, and from what I can tell, it is legal.
> 

rm/rmdir will not let you remove dot.  It is not a good idea to that
and they avoid this pitfall.  But if you are root, and you bypass their
protection by using the link/unlink system calls you can unlink the "."
entries and link directories as well.  This can make an unholy mess
out of your filesystem.

-Ron
Technical Details
Message-ID: <709@brl-sem.ARPA>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!seismo!brl-adm!brl-sem!ron
References: <1059@cci632.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!utgpu!water!watnot!watmath!clyde!rutgers!seismo!brl-adm!brl-sem!ron
From: ron@brl-sem.UUCP
Newsgroups: comp.bugs.sys5
Subject: Re: Unlinking "."
Message-ID: <709@brl-sem.ARPA>
Date: Thu, 2-Apr-87 15:28:45 EST
Article-I.D.: brl-sem.709
Posted: Thu Apr  2 15:28:45 1987
Date-Received: Sat, 4-Apr-87 16:39:09 EST
References: <1059@cci632.UUCP>
Organization: Electronic Brain Research Lab
Lines: 12
Keywords: unlink