• Kalle Jokiniemi's avatar
    Copy extended attributes if -p flag is provided to cp, mv. Contributes to JB#30370 · 26e8a8ac
    Kalle Jokiniemi authored
    Doing a full file system copy of root is not currently possible
    when busybox cp does not support copying extended attributes.
    
    Added this patch from Dimitry Falko, which adds xattr support when using
    "-p" option. This behaviour slightly differs from coreutils cp. Original cp
    copying only ACLs and not copying executable file capabilities on "-p".
    To copy all extended attributes with coreutils cp the option "--preserve=all"
    must be used.
    
    At this time of applying, the patch has not been merged to upstream busybox.
    
    This patch was fixed by copying attributes after chown() called because it
    resets file capabilities.
    Signed-off-by: default avatarIgor Zhbanov <igor.zhbanov@jolla.com>
    26e8a8ac
Name
Last commit
Last update
..
applets Loading commit data...
applets_sh Loading commit data...
arch/i386 Loading commit data...
archival Loading commit data...
configs Loading commit data...
console-tools Loading commit data...
coreutils Loading commit data...
debianutils Loading commit data...
docs Loading commit data...
e2fsprogs Loading commit data...
editors Loading commit data...
examples Loading commit data...
findutils Loading commit data...
include Loading commit data...
init Loading commit data...
libbb Loading commit data...
libpwdgrp Loading commit data...
loginutils Loading commit data...
mailutils Loading commit data...
miscutils Loading commit data...
modutils Loading commit data...
networking Loading commit data...
printutils Loading commit data...
procps Loading commit data...
runit Loading commit data...
scripts Loading commit data...
selinux Loading commit data...
shell Loading commit data...
sysklogd Loading commit data...
testsuite Loading commit data...
util-linux Loading commit data...
.gitignore Loading commit data...
.indent.pro Loading commit data...
AUTHORS Loading commit data...
Config.in Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Makefile.custom Loading commit data...
Makefile.flags Loading commit data...
Makefile.help Loading commit data...
README Loading commit data...
TODO Loading commit data...
TODO_unicode Loading commit data...
busybox-sailfish.config Loading commit data...