Bug 474098 - man, immutable+append not documented
Summary: man, immutable+append not documented
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: e2fsprogs
Version: 5.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Eric Sandeen
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-02 08:19 UTC by Petr Sklenar
Modified: 2008-12-02 11:52 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-12-02 11:52:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Petr Sklenar 2008-12-02 08:19:36 UTC
Description of problem:
most used function of chattr is +i and its not documented neither in man chattr nor man lsattr. 
"+a" is not documented as well.

chattr +i immutable.file 
[root@xen47 chattr]# lsattr 
----i-------- ./immutable.file


Version-Release number of selected component (if applicable):
e2fsprogs-1.39-15.el5

How reproducible:
alwways

Steps to Reproduce:
1.man chattr, search "i" or "a"
2.man lsattr, search "i" or "a"
3.
  
Actual results:
not in man

Expected results:
describtion in man

Additional info:
[root@xen47 chattr]# chattr +i immutable.file 
[root@xen47 chattr]# lsattr 
----i-------- ./immutable.file

Comment 1 Radek Bíba 2008-12-02 09:10:34 UTC
man chattr:
ATTRIBUTES
A file with the ‘a’ attribute set can only be open in append mode for writing.  Only the superuser or a  process  possessing the CAP_LINUX_IMMUTABLE capability can set or clear this attribute.
...
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.

man lsattr:
DESCRIPTION
...See chattr(1) for a description of the attributes and what they mean.


If you think it's not enough, please propose a change.

Comment 2 Petr Sklenar 2008-12-02 11:52:19 UTC
OK i am sorry I didn't see it among highlighted options,
its not a bug


Note You need to log in before you can comment on or make changes to this bug.