Package: e2fsprogs
Version: 1.43.9-1
Severity: minor
File: /usr/bin/chattr

"""
       The following attributes are read-only, and may be listed by lsattr(1) 
but not modified by chattr: compression error (E), huge  file  (h),  indexed  
directory  (I),
       inline data (N), compression raw access (X), and compressed dirty file 
(Z).
"""

No. E is not "compression error". It means "file system level encrypted file".


"""
       A file with the 'i' attribute cannot be modified: it cannot be deleted 
or renamed, no link can be created to this file and no data can be written to 
the file.  Only
       the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability 
can set or clear this attribute.
"""

what about other metadata: owner, group, unix permissions, posix acls,
xattrs, modification date, "normal" attributes itself, access time?

It would also be good to explain why normal user cannot set or unset this
attribute on file that they own. (I have some ideas why, but it is
tricky).


"""
       The 'c', 's',  and 'u' attributes are not honored by the ext2, ext3, and 
ext4 filesystems as implemented in the current mainline Linux kernels.
"""

It would be much better to instead list which file systems DO HONOR it, and 
since which Linux kernel version.

"""
       The 'j' option is only useful if the filesystem is mounted as ext3 or 
ext4.
"""

the word "as" is not clear here (what if I mount ext2 as ext4?). I guess
it would be better to just say "only useful for ext3 and ext4
filesystems". (it might also be useful to mention or point to ext2
feature flags and/or mount options and/or tune2fs, that are required to
be enabled).



Regards,
Witold Baryluk


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-3-amd64 (SMP w/12 CPU cores)
Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8), 
LANGUAGE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages e2fsprogs depends on:
ii  libblkid1    2.31.1-0.1
ii  libc6        2.26-6
ii  libcom-err2  1.43.9-1
ii  libext2fs2   1.43.9-1
ii  libss2       1.43.9-1
ii  libuuid1     2.31.1-0.1

Versions of packages e2fsprogs recommends:
ii  e2fsprogs-l10n  1.43.9-1

Versions of packages e2fsprogs suggests:
pn  e2fsck-static  <none>
ii  fuse2fs        1.43.9-1
pn  gpart          <none>
ii  parted         3.2-20

-- no debconf information

Reply via email to