Erasing Write-Protected Files (Resolved)
"Gregory Malsack" <[email protected]>
| Newsgroups | gmane.linux.redhat.release.seawolf,gmane.linux.redhat.release.psyche,gmane.linux.redhat.release.enigma |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> To: [email protected] Subject: RE: Erasing Write-Protected Files Date: Tue, 21 Jan 2003 18:24:33 +0200 Reply-To: [email protected] 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:[email protected]] > 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 > [email protected] > https://listman.redhat.com/mailman/listinfo/psyche-list > From: Jeffrey Ross <[email protected]> Subject: Re: Erasing Write-Protected Files To: [email protected] Date: Tue, 21 Jan 2003 11:23:20 -0500 (EST) Reply-To: [email protected] 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