Hello Theodore, Thank you for the feedback. I only had mke2fs in mind when trying to look for a fix as this solves my immediate problem - to be able to preserve ACLs when creating a filesystem via the Yocto build system.
I agree that the ext2fs_{read,write}_ functions may be a better place to fix this. I did have an inkling that fixing this in write_xattrs_to_buffer might not be the ideal fix and I was hoping for exactly this - feedback from someone who knows the source better. The biggest challenge was identifying the cause. Now I hope someone else can step up and put the fix in the right location. My problem is solved for now. :-) Regards, Sojan -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1645232 Title: e2fsprogs - could not preserve ACL permissions : The getxattr() returns with (EINVAL) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1645232/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs