]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blame - misc/chattr.1
Many files:
[thirdparty/e2fsprogs.git] / misc / chattr.1
CommitLineData
3839e657
TT
1.\" -*- nroff -*-
2.TH CHATTR 1 "March 1994" "Version 0.5"
3.SH NAME
4chattr \- change file attributes on a Linux second extended file system
5.SH SYNOPSIS
6.B chattr
7[
8.B \-RV
9]
10[
11.B -v
12version
13]
14[
15mode
16]
17.I files...
18.SH DESCRIPTION
19.B chattr
20changes the files attributes on an second extended file system.
21.PP
22The format of a symbolic mode is +-=[Scsu].
23.PP
24The operator `+' causes the selected attributes to be added to the
25existing attributes of the files; `-' causes them to be removed; and
26`=' causes them to be the only attributes that the files have.
27.PP
28The letters `Scsu' select the new attributes for the files: synchronous
29updates (S), compressed (c), secure deletion (s), and undeletable (u).
30.SH OPTIONS
31.TP
32.I -R
33Recursively change attributes of directories and their contents.
34.TP
35.I -V
36Verbosely describe changed attributes.
37.TP
38.I -v version
39Set the files version.
40.SH AUTHOR
41.B chattr
42has been written by Remy Card <card@masi.ibp.fr>, the developer and maintainer
43of the ext2 fs.
44.SH BUGS AND LIMITATIONS
45As of ext2 fs 0.4, the kernel code only honours the `s' and `S' attributes. When
46a file with the `s' attribute set is deleted, its blocks are zeroed and
47written back to the disk. When a file with the `S' attribute set is modified,
48the changes are written synchronously on the disk; this is equivalent to
49the `sync' mount option applied to a subset of the files.
50.PP
51The other attributes will be implemented in a next ext2 fs version.
52.SH AVAILABILITY
53.B chattr
54is available for anonymous ftp from ftp.ibp.fr (132.227.60.2) in
55/pub/linux/BETA/ext2fs.
56.SH SEE ALSO
57.BR lsattr (1)