Date: Wed, 7 Jan 1998 02:13:34 +0100 From: pb@fasterix.freenix.org (Pierre Beyssac) To: jkh@time.cdrom.com (Jordan K. Hubbard) Cc: freebsd-current@FreeBSD.ORG Subject: Re: funny ETXTBSY problem Message-ID: <19980107021334.TJ03605@@> In-Reply-To: <5665.884133396@time.cdrom.com>; from Jordan K. Hubbard on Jan 6, 1998 16:36:36 -0800 References: <19980106212739.HR12419@@> <5665.884133396@time.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Jordan K. Hubbard writes:
> jkh@whisker-> cp /bin/sh /tmp
> cp: /tmp/sh: Permission denied
>
> Hmmm. I thought it was only supposed to refuse this request if somebody
> *else* tried to replace my file in /tmp! :-)
Yes, I almost got caught by this one too, but "rm" had hinted to
me just before that it might simply be that the w bit is not set
on /tmp/sh after cp :-)
$ rm /tmp/sh2
override r-xr-xr-x pb/bin for /tmp/sh2? y
--
Pierre Beyssac pb@fasterix.frmug.org pb@fasterix.freenix.org
{Free,Net,Open}BSD, Linux : il y a moins bien, mais c'est plus cher
Free domains: http://www.eu.org/ or mail dns-manager@EU.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980107021334.TJ03605>
