From owner-freebsd-bugs Wed Feb 10 06:00:06 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA29571 for freebsd-bugs-outgoing; Wed, 10 Feb 1999 06:00:06 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA29554 for ; Wed, 10 Feb 1999 06:00:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id GAA46405; Wed, 10 Feb 1999 06:00:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Wed, 10 Feb 1999 06:00:02 -0800 (PST) Message-Id: <199902101400.GAA46405@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Anton Voronin Subject: Re: misc/10005: Update /etc/motd Reply-To: Anton Voronin Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/10005; it has been noted by GNATS. From: Anton Voronin To: Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: misc/10005: Update /etc/motd Date: Wed, 10 Feb 1999 18:51:06 +0500 Dag-Erling Smorgrav wrote: > anton@urc.ac.ru writes: > > Leave original /etc/rc.conf unchanged and check that your /etc/rc.conf.local > > does not redefine clear_tmp_enable and update_motd; > > Create a directory /tmp/_motd. > > What do you do to prevent root from removing that directory? > > DES > -- > Dag-Erling Smorgrav - des@flood.ping.uio.no Nothing - rm does not remove directories without -r or -d bash-2.01# ls -l /tmp drwxr-xr-x 2 anton wheel 512 10 feb 18:43 _motd bash-2.01# rm -f /tmp/_motd rm: _motd: is a directory -- Anton Voronin | Ural Regional Center of FREEnet, anton@urc.ac.ru | Southern Ural University, Chelyabinsk, Russia http://www.urc.ac.ru/~anton | Programmer & System Administrator To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message