From owner-freebsd-stable@FreeBSD.ORG Thu Oct 7 16:40:08 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 8199316A4CE for ; Thu, 7 Oct 2004 16:40:08 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 194DE43D31 for ; Thu, 7 Oct 2004 16:40:08 +0000 (GMT) (envelope-from marchenko@gmail.com) Received: by mproxy.gmail.com with SMTP id 74so557107rnk for ; Thu, 07 Oct 2004 09:38:43 -0700 (PDT) Received: by 10.38.6.75 with SMTP id 75mr2181925rnf; Thu, 07 Oct 2004 09:38:42 -0700 (PDT) Received: by 10.38.22.66 with HTTP; Thu, 7 Oct 2004 09:38:42 -0700 (PDT) Message-ID: Date: Thu, 7 Oct 2004 12:38:42 -0400 From: Vlad To: freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: 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 Reply-To: Vlad List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2004 16:40:08 -0000 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? -- Vlad