Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Dec 2010 20:42:20 +0000
From:      Pegasus Mc Cleaft <ken@mthelicon.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: cpio misunderstanding?
Message-ID:  <201012242042.21257.ken@mthelicon.com>
In-Reply-To: <if2rdo$tk5$1@dough.gmane.org>
References:  <if2rdo$tk5$1@dough.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



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