Erasing Write-Protected Files (Resolved)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following e-mails fixed my problem. I ran the chattr -i and was still
unable to remove the files. However, after running chattr -s -a I was able
to remove the files.

Thank you all so very much for your assistance...

From: Pavel Rozenboim <pavelr@coresma.com>
To: psyche-list@redhat.com
Subject: RE: Erasing Write-Protected Files
Date: Tue, 21 Jan 2003 18:24:33 +0200
Reply-To: psyche-list@redhat.com

run 'lsattr' and see if file has 'i' flag, which means file can not be
modified or deleted. If it has use chattr to remove the attribute.

Pavel.

> -----Original Message-----
> From: Gregory Malsack [mailto:gmalsack@classic.net]
> Sent: Tue, January 21, 2003 6:15 PM
> To: Enigma-List; Psyche List; Seawolf-List
> Subject: Erasing Write-Protected Files
>
>
> Hello,
>
> 	I have a list of files that has been created on my
> system by a user that
> has write-protected the file somehow. Even when logged in as
> root, the file
> can not be deleted. Does anyone know of a way this can be overcome?
>
>
> Thank You,
> Gregory Malsack
> Classic Services
>
>
>
> --
> Psyche-list mailing list
> Psyche-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/psyche-list
>

From: Jeffrey Ross <jeff@bubble.org>
Subject: Re: Erasing Write-Protected Files
To: psyche-list@redhat.com
Date: Tue, 21 Jan 2003 11:23:20 -0500 (EST)
Reply-To: psyche-list@redhat.com

the command you want is lsattr (LiStATTRibutes) or chattr (CHange
ATTRibutes)

Jeff

>
> Hello,
>
> 	I have a list of files that has been created on my system by a user that
> has write-protected the file somehow. Even when logged in as root, the
file
> can not be deleted. Does anyone know of a way this can be overcome?
>
>
> Thank You,
> Gregory Malsack
> Classic Services

Thank You,
Gregory Malsack
Classic Services




-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux