Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1251480
| From | Tim Woodall <debianbugs@woodall.me.uk> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1108534: e2fsprogs: getfattr returns different values for posix acls when using fuse2fs |
| Date | 2025-06-30 20:30 +0200 |
| Message-ID | <L3rqp-eigc-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Package: e2fsprogs Version: 1.47.0-2 Severity: minor Dear Maintainer, Without using fuse at all: # touch x # setfacl -m u:root:rw x # getfattr -m - -d x # file: x system.posix_acl_access=0sAgAAAAEABgD/////AgAGAAAAAAAEAAQA/////xAABgD/////IAAEAP////8= When done via fuse2fs: # which fuse2fs /usr/bin/fuse2fs # mkdir mnt # fuse2fs img mnt # touch mnt/x # setfacl -m u:root:rw mnt/x # getfattr -m - -d mnt/x # file: mnt/x system.posix_acl_access=0sAgAAAAEABgAAAAAAAgAGAAAAAAAEAAQAAAAAABAABgAAAAAAIAAEAAAAAAA= # umount mnt # /tmp/fuse2fs img mnt # getfattr -m - -d mnt/x # file: mnt/x system.posix_acl_access=0sAgAAAAEABgD/////AgAGAAAAAAAEAAQA/////xAABgD/////IAAEAP////8= # umount mnt Note that the one run with my patched libext2fs gets the same value as without using fuse without rewriting the attribute showing that this is a read issue only. diff --git a/lib/ext2fs/ext_attr.c b/lib/ext2fs/ext_attr.c index 7723d0f9..d09a13da 100644 --- a/lib/ext2fs/ext_attr.c +++ b/lib/ext2fs/ext_attr.c @@ -671,7 +671,7 @@ static errcode_t convert_disk_buffer_to_posix_acl(const void *value, size_t size case ACL_GROUP_OBJ: case ACL_MASK: case ACL_OTHER: - entry->e_id = 0; + entry->e_id = -1; cp += sizeof(ext4_acl_entry_short); size -= sizeof(ext4_acl_entry_short); break; -- System Information: Debian Release: 12.11 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-37-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_WARN Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: sysvinit (via /sbin/init) Versions of packages e2fsprogs depends on: ii libblkid1 2.38.1-5+deb12u3 ii libc6 2.36-9+deb12u10 ii libcom-err2 1.47.0-2 ii libext2fs2 1.47.0-2 ii libss2 1.47.0-2 ii libuuid1 2.38.1-5+deb12u3 ii logsave 1.47.0-2 Versions of packages e2fsprogs recommends: pn e2fsprogs-l10n <none> Versions of packages e2fsprogs suggests: pn e2fsck-static <none> ii fuse2fs 1.47.0-2 pn gpart <none> pn parted <none> -- no debconf information
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#1108534: e2fsprogs: getfattr returns different values for posix acls when using fuse2fs Tim Woodall <debianbugs@woodall.me.uk> - 2025-06-30 20:30 +0200
Bug#1108534: e2fsprogs: getfattr returns different values for posix acls when using fuse2fs "Theodore Ts'o" <tytso@mit.edu> - 2025-07-02 06:00 +0200
Bug#1108534: e2fsprogs: getfattr returns different values for posix acls when using fuse2fs Tim Woodall <debianbugs@woodall.me.uk> - 2025-07-02 21:00 +0200
Bug#1108534: e2fsprogs: getfattr returns different values for posix acls when using fuse2fs "Theodore Ts'o" <tytso@mit.edu> - 2025-07-02 23:20 +0200
Bug#1108534: e2fsprogs: getfattr returns different values for posix acls when using fuse2fs Tim Woodall <tim@woodall.me.uk> - 2025-07-03 00:40 +0200
csiph-web