Andre Pang andrep-ml at
Sun Jun 11 18:19:43 PDT 2000

On Mon, Jun 12, 2000 at 12:55:13AM +0200, Georg Wilckens wrote:

> > I do it simply like this. At some point a cleandirs script is run
> > containing nothing more than:
> > #!/bin/sh
> > /bin/rm -r /tmp; mkdir /tmp; chmod 1777 /tmp
> Yeah, just checked. I thought "-r" could follow a symlink and flatten
> another directory due to that. But -r doesn't follow symlinks and
> directories cannot be hardlinked. So.. no problem. Btw... this is even
> simpler: /bin/rm -rf /tmp/*

    you might want to do ``/bin/rm -rf /tmp/* /tmp/.*''.  (X and certain
other programs make dotfiles in /tmp.)

: Andre Pang <andrep at>  -  #ozone  -  ph# 0411.882299 :
:              ...[ = trust in love to save = ]...               :
Mail archive:
IRC access: server: port: 6667 channel: #LFS
News Reader access:
Unsubscribe: email lfs-discuss-request at and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)

More information about the lfs-dev mailing list