Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Erasing Write-Protected Files (Resolved)

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