[OE-core] [PATCH][PSEUDO 0/4] Fix stripped mode with newer coreutils cp

Richard Tollerton rich.tollerton at ni.com
Wed Nov 29 18:02:38 UTC 2017


So we noticed that cp -Rp was stripping special bits off of directories when run
under pseudo. The super interesting thing was that people saw this when
upgrading their build machines from Ubuntu 12.04 to 16.04. Root cause is in the
commit message in the first patch, which also contains the fix.

I also added a test for this, and fixed up the perms on another test.
run_tests.sh reports 13/13 pass.

Also updated contact info in the README.

Thanks.

Richard Tollerton (4):
  linux/xattr/pseudo_wrappers.c: Preserve special bits on acl set
  test-cp-setuid.sh: add
  test-tclsh-fork.sh: fix permissions
  README: update contact info

 README                              |  9 +++++++--
 ports/linux/xattr/pseudo_wrappers.c | 19 +++++++++++++++++++
 test/test-cp-setuid.sh              | 23 +++++++++++++++++++++++
 test/test-tclsh-fork.sh             |  0
 4 files changed, 49 insertions(+), 2 deletions(-)
 create mode 100755 test/test-cp-setuid.sh
 mode change 100644 => 100755 test/test-tclsh-fork.sh

-- 
2.14.1



More information about the Openembedded-core mailing list