[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: ls
- From: Szemerédy Gábor <gabor rc-subotica co yu>
- To: redhat-install-list redhat com
- Subject: Re: ls
- Date: Tue, 13 Mar 2001 16:58:22 +0100
Thank you very much!
Now is ok!
Gabor
arthur m coucouvitis wrote:
> 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
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list
begin:vcard
n:Szemerédy;Gábor
x-mozilla-html:TRUE
url:http://www.srce.net
org:Zavod za informatiku i AOP;HW-SW
version:2.1
email;internet:gabor rc-subotica co yu
title:Szemerédy Gábor
adr;quoted-printable:;;Adolfa Singera 12=0D=0A;Subotica;;24ooo;Yugoslavia
x-mozilla-cpt:;32400
fn:Szemerédy Gábor
end:vcard
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]