]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
libext2fs: fix regression so we are correctly translating Posix ACL's
authorTheodore Ts'o <tytso@mit.edu>
Fri, 7 Dec 2018 03:44:45 +0000 (22:44 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 7 Dec 2018 03:44:45 +0000 (22:44 -0500)
commit5fafc783590ba0a463bdfdbf26e76bb9c6bebfc5
tree995762e306b40a0c1097b825ac1ae180ce870452
parent93accdce51cabf2070206834c140a208c1753c35
libext2fs: fix regression so we are correctly translating Posix ACL's

The commit 50d0998cfee ("libext2fs: add ea_inode support to set
xattr") broke the fix that was addressed in commit 0ee1eaf70c25
("libext2fs: translate internal ext4 acl to Posix ACL in
ext2fs_xattr_[sg]et()").  This was because although we calculated what
the correct on-disk ACL representation would be, we didn't actually
*store* it, but instead stored the passed-in Posix ACL memory
representation instead.

Addresses-Launchpad-Bug: #1807288
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/ext_attr.c