From owner-freebsd-stable@FreeBSD.ORG Fri Oct 8 22:33:54 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 224E016A4CE for ; Fri, 8 Oct 2004 22:33:54 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC39E43D31 for ; Fri, 8 Oct 2004 22:33:52 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i98MXoGS047062; Sat, 9 Oct 2004 01:33:50 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 33418-08; Sat, 9 Oct 2004 01:33:50 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i98MXoCU047059; Sat, 9 Oct 2004 01:33:50 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i98MXbBt021929; Sat, 9 Oct 2004 01:33:37 +0300 (EEST) (envelope-from ru) Date: Sat, 9 Oct 2004 01:33:37 +0300 From: Ruslan Ermilov To: Vlad Message-ID: <20041008223337.GA21897@ip.net.ua> References: <20041007184945.GE84576@ip.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline In-Reply-To: <20041007184945.GE84576@ip.net.ua> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: freebsd-stable@freebsd.org Subject: Re: cp -Rp broken in RELENG_4? 'Operation not permitted' while copying directory permissions X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2004 22:33:54 -0000 --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=20 > >=20 > > $ id > > uid=3D65534(nobody) gid=3D65534(nobody) groups=3D65534(nobody) > >=20 > > $ mkdir test > >=20 > > $ chmod 770 test > >=20 > > $ cp -Rp test test2 > > cp: chmod: test2: Operation not permitted > >=20 > > $ ls -al > > drwxrwx--- 2 nobody nobody 512 Oct 7 11:29 test > > drwxr-x--- 2 nobody nobody 512 Oct 7 11:29 test2 > >=20 > > $ chmod 770 test2 > >=20 > > $ ls -al > > drwxrwx--- 2 nobody nobody 512 Oct 7 11:29 test > > drwxrwx--- 2 nobody nobody 512 Oct 7 11:29 test2 > >=20 > > cp taken from 4.9 works just fine. Am I'm missing something? > >=20 > Give me a few hours to fix it, it's probably my fault. >=20 Fixed in src/bin/cp/cp.c,v 1.24.2.8. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --/04w6evG8XlLl3ft Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBZxXBqRfpzJluFF4RAv+OAJ4+ru8IgOl5MklzcJ5/qipPwk6oogCfVN4T rs733U+85l2oDOG6Obs3hcA= =kNFs -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft--