[aur-general] "install" recursive?

Dave Reisner d at falconindy.com
Wed Nov 30 09:35:03 EST 2011


On Wed, Nov 30, 2011 at 03:25:49PM +0100, Christoph wrote:
> 
> > Copying entire directory structures is the unusual case. It's always
> > preferrable that upstream provide some sort of sane build system that
> > gets all the permissioning correct. I would suggest using:
> > 
> >   cp -dr --no-preserve=ownership
> > 
> > This way, fakeroot installs the files as root but preserves other
> > metadata.
> 
> In order to preserve mode and timestamps, the command has to be
> either:
> 
>    cp -dpr --no-preserve=ownership /sourcedir /targetdir
> 
> or:
> 
>   cp -dr --preserve=mode,timestamp /sourcedir /targetdir
> 
> Cheers,
> Christoph

Erm right, thanks. Pre-coffee thinko. I was getting at the former.

d
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/aur-general/attachments/20111130/dacbdc33/attachment.asc>


More information about the aur-general mailing list