Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH][PSEUDO 0/4] Fix stripped mode with newer coreutils cp
@ 2017-11-29 18:02 Richard Tollerton
  2017-11-29 18:02 ` [PATCH][PSEUDO 1/4] linux/xattr/pseudo_wrappers.c: Preserve special bits on acl set Richard Tollerton
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Richard Tollerton @ 2017-11-29 18:02 UTC (permalink / raw)
  To: seebs, openembedded-core

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-11-29 18:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-29 18:02 [PATCH][PSEUDO 0/4] Fix stripped mode with newer coreutils cp Richard Tollerton
2017-11-29 18:02 ` [PATCH][PSEUDO 1/4] linux/xattr/pseudo_wrappers.c: Preserve special bits on acl set Richard Tollerton
2017-11-29 18:02 ` [PATCH][PSEUDO 2/4] test-cp-setuid.sh: add Richard Tollerton
2017-11-29 18:02 ` [PATCH][PSEUDO 3/4] test-tclsh-fork.sh: fix permissions Richard Tollerton
2017-11-29 18:02 ` [PATCH][PSEUDO 4/4] README: update contact info Richard Tollerton
2017-11-29 18:07 ` [PATCH][PSEUDO 0/4] Fix stripped mode with newer coreutils cp Seebs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox