From owner-freebsd-questions@FreeBSD.ORG Fri Dec 24 20:40:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B0921065670 for ; Fri, 24 Dec 2010 20:40:50 +0000 (UTC) (envelope-from ken@mthelicon.com) Received: from hercules.mthelicon.com (unknown [IPv6:2001:49f0:2023::2]) by mx1.freebsd.org (Postfix) with ESMTP id 381018FC08 for ; Fri, 24 Dec 2010 20:40:50 +0000 (UTC) Received: from feathers.peganest.com ([89.193.189.136]) (authenticated bits=0) by hercules.mthelicon.com (8.14.3/8.14.3) with ESMTP id oBOKej2K058653 for ; Fri, 24 Dec 2010 20:40:46 GMT (envelope-from ken@mthelicon.com) From: Pegasus Mc Cleaft Organization: Feathers To: freebsd-questions@freebsd.org Date: Fri, 24 Dec 2010 20:42:20 +0000 User-Agent: KMail/1.13.5 (FreeBSD/9.0-CURRENT; KDE/4.5.4; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201012242042.21257.ken@mthelicon.com> X-Spam-Status: No, score=-1.1 required=15.0 tests=BAYES_00,RDNS_NONE autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on hercules.mthelicon.com Subject: Re: cpio misunderstanding? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Dec 2010 20:40:50 -0000 > If I try to run it manually on one of the files that fails, I get this: > > slug# echo "/usr/local/freesbie-fs/libexec/ld-elf.so.1" | cpio -dump -l -v > /usr/local/freesbie-clone > > /usr/local/freesbie-clone/usr/local/freesbie-fs/libexec/ld-elf.so.1 > > cpio: Can't create '/usr/local/freesbie-clone/usr/local/freesbie- > fs/libexec/ld-elf.so.1': Operation not permitted > 0 blocks > > > I can use cp to copy the file, so I don't understand what's going on here. > Does anyone have any ideas? I don't know if this is your problem, but whenever I see that "Operation not permitted" error I start to suspect file flags. You might want to check for extra flags put on the source file or destination directory and see if anything weird had been set on it. You can look at the flags with the command "ls -lao". You may also want to do a "man chflags" and read the manual page there. ~Peg