[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: ls
- From: arthur m coucouvitis <acoucouvitis atipa com>
- To: redhat-install-list redhat com
- Subject: Re: ls
- Date: Tue, 13 Mar 2001 10:45:37 -0500
hello, Szemerédy
> lsattr gives me -----i--- /bin/ls !
> So you was right!
> What is my next step? There is so short explanation on the box for lsattr
> and chattr!!!!!
the man page for chattr ( % man chattr ) shows the
following
---------------------------------------------------------------
NAME
chattr - change file attributes on a Linux
second extended
file system
SYNOPSIS
chattr [ -RV ] [ -v version ] [ mode ] files...
DESCRIPTION
chattr changes the file attributes on a
Linux second
extended file system.
The format of a symbolic mode is +-=[ASacdisu].
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 `ASacdisu' select the new
attributes for the
files: don't update atime (A), synchronous
updates (S),
append only (a), compressed (c), immutable
(i), no dump
(d), secure deletion (s), and undeletable (u).
---------------------------------------------------------------
the last paragraph tells the mode options...
so,
if your disk is _not_ mounted read-only
(which someone else mentioned as a possible cause...)
use something like
% chattr -i <file-name>
where '%' just indicates being at the shell prompt
--
arthur m coucouvitis ATIPA Linux Solutions, Inc.
tel: 603 622-7171 x 15 850 East Industrial Park
Drive
fax: 603 622-7272 Suite 8, Manchester, NH
03109
http://www.dcginc.com http:/www.atipa.com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]