Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.unix.questions Subject: Re: is it ok to forbid rm -r x/y/.. Message-ID: <5544@brl-smoke.ARPA> Date: Tue, 20-Jan-87 04:33:03 EST Article-I.D.: brl-smok.5544 Posted: Tue Jan 20 04:33:03 1987 Date-Received: Tue, 20-Jan-87 23:28:11 EST References: <6427@allegra.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 8 In article <6427@allegra.UUCP> mp@allegra.UUCP (Mark Plotnick) writes: >... I'm tempted to make rm forbid removing anything that has .. >as its last pathname component ... What am I overlooking? Perhaps that "rm" should do as it's told? (Unless of course it can't work, which is probably the point of the prohibition on . and ..; I think those too should not be exempted.)