dracut icon indicating copy to clipboard operation
dracut copied to clipboard

fix(dracut-install): Copy xattr when use clone ioctl

Open HuaxinLu opened this issue 1 year ago • 2 comments

When use clone ioctl to copy a file, the extended attributes of files are missing, which is inconsistent with the result by using the cp command. This commit add the process to copy extended attributes after clone_file().

Changes

Add the process to copy extended attributes after clone_file().

Checklist

  • [ ] I have tested it locally
  • [ ] I have reviewed and updated any documentation if relevant
  • [ ] I am providing new code and test(s) for it

Fixes #

HuaxinLu avatar Jul 01 '24 09:07 HuaxinLu