[aur-general] "install" recursive?

Christoph chrdr at gmx.at
Wed Nov 30 09:25:49 EST 2011


> 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


More information about the aur-general mailing list