Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 1999 06:00:02 -0800 (PST)
From:      Anton Voronin <anton@urc.ac.ru>
To:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: misc/10005: Update /etc/motd
Message-ID:  <199902101400.GAA46405@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/10005; it has been noted by GNATS.

From: Anton Voronin <anton@urc.ac.ru>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902101400.GAA46405>