🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by Phil Crown Sun, 29 Jun 1997 00:00
file can't be removed
#18855
Author: Phil Crown
Date: Sun, 29 Jun 1997 00:00
9 lines
696 bytes
I have a file on my disk that cannot be removed (even by root).

Anybody know how I can delete this file?

-- 
Phil Crown  pcrown@ispnews.com  http://www.ispnews.com

Re: file can't be removed
#18866
Author: Forrest J. Cavalier III
Date: Mon, 30 Jun 1997 00:00
27 lines
1060 bytes
In article <33B739C6.3F4AC94A@ispnews.com>, pcrown@ispnews.com wrote...
>
>I have a file on my disk that cannot be removed (even by root).
>

Is this a riddle?


>Anybody know how I can delete this file?

No.  Files that "can't be removed", "can't be removed" by definition.



But because I am a good sport....

   Are you sure that nothing has the file open, or is recreating
   the file after you rm it?

What OS, what file is it?

Forrest Cavalier, Mib Software, INN customization and consulting



Re: file can't be removed
#18875
Author: Dick Chimenti
Date: Mon, 30 Jun 1997 00:00
16 lines
925 bytes
tried "unlink"?

In article <33B739C6.3F4AC94A@ispnews.com>, Phil Crown <pcrown@ispnews.com> writes:
|> I have a file on my disk that cannot be removed (even by root).
|> 
|> Anybody know how I can delete this file?
|> 
|> -- 
|> Phil Crown  pcrown@ispnews.com  http://www.ispnews.com

-- 

Dick Chimenti			chimenti@vnet.ibm.com

Re: file can't be removed
#18901
Author: Hans J Jakobsen
Date: Tue, 01 Jul 1997 00:00
25 lines
1311 bytes
Phil Crown wrote:
> 
> I have a file on my disk that cannot be removed (even by root).
> 
> Anybody know how I can delete this file?
> 
> --
> Phil Crown  pcrown@ispnews.com  http://www.ispnews.com

What OS?

I once had problems with a Solaris UFS filesystem with ODS logging where
I could not remove some files. The cure was to remove the logging and
run a fsck.

-- 
Tele Danmark Erhverv, Data Divisionen      TLF: +45 8947 3339
Hans J Jakobsen                            FAX: +45 8947 3308
Skanderborgvej 234 st tv                   
X400:C=dk;admd=DK400;PRMD=DATACOM;
DK 8620 Viby J                                  S=Jakobsen;G=Hans
Danmark                                    Internet:hjj@datacom.dk400.dk

Re: file can't be removed
#18905
Author: Phil Crown
Date: Tue, 01 Jul 1997 00:00
24 lines
1108 bytes
Thanks to all who replied.

The immutable flag was the problem.

chflags nosappnd amiga && rm amiga 

fixed it.

However, I don't understand how the actived protability patch would
help? :-)

> Phil Crown <pcrown@ispnews.com> writes:
> > I have a file on my disk that cannot be removed (even by root).
> > Anybody know how I can delete this file?
> 
> Try the actived portability patch !
> 
>         Stefan

-- 
Phil Crown  pcrown@ispnews.com  http://www.ispnews.com

Re: file can't be removed
#18914
Author: James Youngman
Date: Tue, 01 Jul 1997 00:00
10 lines
766 bytes
Phil Crown <pcrown@ispnews.com> writes:

> I have a file on my disk that cannot be removed (even by root).
> 
> Anybody know how I can delete this file?

The file may be marked "immutable".  Unmark it.

Re: file can't be removed
#18915
Author: Stefan Monnier
Date: Tue, 01 Jul 1997 00:00
11 lines
904 bytes
Phil Crown <pcrown@ispnews.com> writes:
> I have a file on my disk that cannot be removed (even by root).
> Anybody know how I can delete this file?

Try the actived portability patch !


        Stefan

Re: file can't be removed
#18922
Author: Sven Paulus
Date: Tue, 01 Jul 1997 00:00
17 lines
1302 bytes
Forrest J. Cavalier III <mibsoft@epix.net> wrote:
>>I have a file on my disk that cannot be removed (even by root).
>>Anybody know how I can delete this file?
 FJ CI> No.  Files that "can't be removed", "can't be removed" by definition.

There may be a filesystem problem which causes this behaviour. Unmounting
and fscking the filesystem usually helps.

Sven
-- 
--Sven-Paulus----------28-48-32--3-----ub6v@rz.uni-karlsruhe.de------
--Karlstr.-55----------30--2-50-29-----sven@oops.sub.de-----3C9A6091-
--D-76133-Karlsruhe----44-49-10--8-----T#-49-721-9375094---------irc-
--Fido-2:2476/530-------9-12-19-71-----F#-49-721-9375095-----svennie-

Re: file can't be removed
#18926
Author: James Brister
Date: Tue, 01 Jul 1997 00:00
20 lines
1428 bytes
Sven Paulus <sven@oops.sub.de> writes:

> Forrest J. Cavalier III <mibsoft@epix.net> wrote:
> >>I have a file on my disk that cannot be removed (even by root).
> >>Anybody know how I can delete this file?
>  FJ CI> No.  Files that "can't be removed", "can't be removed" by definition.
> 
> There may be a filesystem problem which causes this behaviour. Unmounting
> and fscking the filesystem usually helps.

Or a BSD4.4 file system with the IMMUTABLE flag set on the file. Read the
manpage for chflags(1) if you've got it.

James
-- 
James Brister                                            brister@vix.com
Internet Software Consortium      http://www.isc.org     inn@isc.org 

Re: file can't be removed
#18951
Author: Ron Echeverri
Date: Wed, 02 Jul 1997 00:00
11 lines
786 bytes
In article <33B739C6.3F4AC94A@ispnews.com>,
Phil Crown  <pcrown@ispnews.com> wrote:
>I have a file on my disk that cannot be removed (even by root).
>Anybody know how I can delete this file?

newfs the partition.  Trust me.

rone

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads