Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2008 12:52:38 +0400
From:      Vladimir Grebenschikov <vova@fbsd.ru>
To:        Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de>
Cc:        kientzle@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: cpio -dumpl damages the files?
Message-ID:  <1214815958.3581.67.camel@localhost>
In-Reply-To: <20080626110521.GA68764@wep4017.physik.uni-wuerzburg.de>
References:  <20080626110521.GA68764@wep4017.physik.uni-wuerzburg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2008-06-26 at 13:05 +0200, Alexey Shuvaev wrote:
> Hello!
>=20
> Yesterday I have encountered a strange problem
> trying to build math/qtiplot, the compiler exited with errors during
> the build. After examining the situation it appeared that math/qtiplot3d-=
qt4
> have installed damaged include files. In a nutshell the problem is that
> bsdcpio damages the files:

Same here, also it shows strange warning on every directory being
copied:

$ cd ~/tmp
$ mkdir -p a/b/c/1 a/b/c/2 a/b/c/3 dst
$ cp DSC01699.JPG a/b/c/1/
=EF=BB=BF$ cp DSC01699.JPG a/b/c/2/
=EF=BB=BF$ cp DSC01699.JPG a/b/c/3/
$ file a/b/c/?/*
a/b/c/1/DSC01699.JPG: JPEG image data, EXIF standard 2.2
a/b/c/2/DSC01699.JPG: JPEG image data, EXIF standard 2.2
a/b/c/3/DSC01699.JPG: JPEG image data, EXIF standard 2.2
$ find a | cpio -dumpl dst/
Operation not permitted: Operation not permitted
cpio: Can't create 'dst/a/b': Operation not permitted: Operation not
permitted
cpio: Can't create 'dst/a/b/c': Operation not permitted: Operation not
permitted
cpio: Can't create 'dst/a/b/c/1': Operation not permitted: Operation not
permitted
cpio: Can't create 'dst/a/b/c/2': Operation not permitted: Operation not
permitted
cpio: Can't create 'dst/a/b/c/3': Operation not permitted: Operation not
permitted
$ file a/b/c/?/*
a/b/c/1/DSC01699.JPG: data
a/b/c/2/DSC01699.JPG: data
a/b/c/3/DSC01699.JPG: data
$

truss shows:
...
lstat("dst/a/b/c/3",0xbfbfe15c)                  ERR#2 'No such file or
directory'
link("a/b/c/3","dst/a/b/c/3")                    ERR#1 'Operation not
permitted'
...

Bad news, that it damaged original files also.

PS:=20
  upgrading now ...

--=20
Vladimir B. Grebenschikov
vova@fbsd.ru



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