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
Author: Phil Crown
Date: Sun, 29 Jun 1997 00:00
Date: Sun, 29 Jun 1997 00:00
9 lines
696 bytes
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
Author: Forrest J. Cavalier III
Date: Mon, 30 Jun 1997 00:00
Date: Mon, 30 Jun 1997 00:00
27 lines
1060 bytes
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
Author: Dick Chimenti
Date: Mon, 30 Jun 1997 00:00
Date: Mon, 30 Jun 1997 00:00
16 lines
925 bytes
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
Author: Hans J Jakobsen
Date: Tue, 01 Jul 1997 00:00
Date: Tue, 01 Jul 1997 00:00
25 lines
1311 bytes
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
Author: Phil Crown
Date: Tue, 01 Jul 1997 00:00
Date: Tue, 01 Jul 1997 00:00
24 lines
1108 bytes
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
Author: James Youngman
Date: Tue, 01 Jul 1997 00:00
Date: Tue, 01 Jul 1997 00:00
10 lines
766 bytes
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
Author: Stefan Monnier
Date: Tue, 01 Jul 1997 00:00
Date: Tue, 01 Jul 1997 00:00
11 lines
904 bytes
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
Author: Sven Paulus
Date: Tue, 01 Jul 1997 00:00
Date: Tue, 01 Jul 1997 00:00
17 lines
1302 bytes
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
Author: James Brister
Date: Tue, 01 Jul 1997 00:00
Date: Tue, 01 Jul 1997 00:00
20 lines
1428 bytes
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
Author: Ron Echeverri
Date: Wed, 02 Jul 1997 00:00
Date: Wed, 02 Jul 1997 00:00
11 lines
786 bytes
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