Erasing Write-Protected Files (Resolved) 2003-01-21 - By Gregory Malsack
Back 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@(protected)> To: psyche-list@(protected) Subject: RE: Erasing Write-Protected Files Date: Tue, 21 Jan 2003 18:24:33 +0200 Reply-To: psyche-list@(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:gmalsack@(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 > Psyche-list@(protected) > https://listman.redhat.com/mailman/listinfo/psyche-list >
From: Jeffrey Ross <jeff@(protected)> Subject: Re: Erasing Write-Protected Files To: psyche-list@(protected) Date: Tue, 21 Jan 2003 11:23:20 -0500 (EST) Reply-To: psyche-list@(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
|
|