Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Oct 2004 01:33:37 +0300
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Vlad <marchenko@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: cp -Rp broken in RELENG_4? 'Operation not permitted' while copying directory permissions
Message-ID:  <20041008223337.GA21897@ip.net.ua>
In-Reply-To: <20041007184945.GE84576@ip.net.ua>
References:  <cd70c6810410070938574f4112@mail.gmail.com> <20041007184945.GE84576@ip.net.ua>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Thu, Oct 07, 2004 at 09:49:45PM +0300, Ruslan Ermilov wrote:
> On Thu, Oct 07, 2004 at 12:38:42PM -0400, Vlad wrote:
> > FreeBSD 4.10-STABLE #3: Thu Sep 30 
> > 
> > $ id
> > uid=65534(nobody) gid=65534(nobody) groups=65534(nobody)
> > 
> > $ mkdir test
> > 
> > $ chmod 770 test
> > 
> > $ cp -Rp test test2
> > cp: chmod: test2: Operation not permitted
> > 
> > $ ls -al
> > drwxrwx---   2 nobody  nobody         512 Oct  7 11:29 test
> > drwxr-x---   2 nobody  nobody         512 Oct  7 11:29 test2
> > 
> > $ chmod 770 test2
> > 
> > $ ls -al
> > drwxrwx---   2 nobody  nobody         512 Oct  7 11:29 test
> > drwxrwx---   2 nobody  nobody        512 Oct  7 11:29 test2
> > 
> > cp taken from 4.9 works just fine. Am I'm missing something?
> > 
> Give me a few hours to fix it, it's probably my fault.
> 
Fixed in src/bin/cp/cp.c,v 1.24.2.8.


Cheers,
-- 
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBZxXBqRfpzJluFF4RAv+OAJ4+ru8IgOl5MklzcJ5/qipPwk6oogCfVN4T
rs733U+85l2oDOG6Obs3hcA=
=kNFs
-----END PGP SIGNATURE-----
help

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