Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2005 22:07:11 +0200
From:      Matthias Buelow <mkb@incubus.de>
To:        Bill Moran <wmoran@potentialtech.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Newbie Question About System Update 
Message-ID:  <200504202007.j3KK7B24003147@drjekyll.mkbuelow.net>
In-Reply-To: Message from Bill Moran <wmoran@potentialtech.com>  <20050419163237.76a99373.wmoran@potentialtech.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Moran <wmoran@potentialtech.com> writes:

>bash-2.05b$ su
>Password:
>bolivia# cp /usr/sbin/cron /home/wmoran/.
>bolivia# cp /home/wmoran/cron /usr/sbin/.
>cp: /usr/sbin/./cron: Text file busy
>bolivia# 
>
>Notice that /usr/sbin/cron is in use (because my system is running
>normally)  I can copy _from_ that file, but I can not overwrite it.

drjekyll:~$ cp /bin/sh foo
drjekyll:~$ ./foo
drjekyll$ cp /bin/sh foo
cp: foo: Text file busy
drjekyll$ install /bin/sh foo
drjekyll$ echo $?
0

Guess why it's not using "cp"?

mkb.



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