Description of problem: The manual page for chattr(1) says: "The format of a symbolic mode is +-=[ASacDdIijsTtu]." It would be nice if this list was sorted (i.e. put "S" in the correct place) "The letters 'acdijsuADST' select the new attributes for the files" This list doesn't match the list above; "I" and "t" are missing. Also, it should be sorted the same as above (i.e. both case-insensitive or both case sensitive). Also, "lsattr" shows 15 dashes, but these lists only show 13 attributes. Are there two more that are missing? Version-Release number of selected component (if applicable): e2fsprogs-1.41.4-10.fc11.x86_64 How reproducible: Always Steps to Reproduce: 1. "man chattr" 2. 3. Actual results: "I" and "t" are not shown in the list in the man page. Expected results: All attributes are documented. Are there 15 or 13 or them? Additional info:
Sent a patch upstream. a previous patch: http://article.gmane.org/gmane.comp.file-systems.ext4/10877 and mine: http://thread.gmane.org/gmane.comp.file-systems.ext4/13476 should do the trick.
It now reads: DESCRIPTION chattr changes the file attributes on a Linux second extended file system. The format of a symbolic mode is +-=[acdeijstuADST]. The operator ‘+’ causes the selected attributes to be added to the existing attributes of the files; ‘-’ causes them to be removed; and ‘=’ causes them to be the only attributes that the files have. The letters ‘acdeijstuADST’ select the new attributes for the files: append only (a), compressed (c), no dump (d), extent format (e), immutable (i), data journalling (j), secure deletion (s), no tail- merging (t), undeletable (u), no atime updates (A), synchronous direc- tory updates (D), synchronous updates (S), and top of directory hier- archy (T). The following attributes are read-only, and may be listed by lsattr(1) but not modified by chattr: huge file (h), compression error (E), indexed directory (I), compression raw access (X), and compressed dirty file (Z). re: the 13/15 question, it's a bit messy because the compression attributes aren't always all built in... but there are (or will be) 13 settable (acdeijstuADST) and 2 more readable (h and I) in the Fedora build, for a total of 15. Thanks, -Eric
upstream now: http://git.kernel.org/?p=fs/ext2/e2fsprogs.git;a=commitdiff;h=312c2a404c1af85b88b855687b6a30cd24ca9e34