Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #196112

Re: Cannot delete files

From Reco <recoverym4n@gmail.com>
Newsgroups linux.debian.user
Subject Re: Cannot delete files
Date 2018-05-26 23:20 +0200
Message-ID <vTOLw-8qs-3@gated-at.bofh.it> (permalink)
References <vTLXj-6Ik-1@gated-at.bofh.it> <vTM70-6Lu-3@gated-at.bofh.it> <vTMql-6Sr-5@gated-at.bofh.it> <vTMA1-6VJ-3@gated-at.bofh.it> <vTOsa-84i-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	Hi.

On Sat, May 26, 2018 at 03:58:09PM -0500, David Wright wrote:
> On Sat 26 May 2018 at 21:54:57 (+0300), Reco wrote:
> > On Sat, May 26, 2018 at 01:42:51PM -0500, David Wright wrote:
> > > On Sat 26 May 2018 at 20:21:13 (+0200), Hans wrote:
> > > > Am Samstag, 26. Mai 2018, 19:48:44 CEST schrieb ben:
> > > > Hi Ben,
> > > > 
> > > > hard to say, maybe your partition is mounted read only?
> > > > This happened at me in the past for two times. One after a filesystem check, 
> > > > the other case was, when the partition was full.
> > > 
> > > That's a new one on me: is it meant to happen? It seems like a
> > > Catch-22 if you can't delete files when a partition is full.
> > > All I've observed is that various things get stuck, depending on
> > > the filesystem involved (usually /home in my case).
> > 
> > What if 'delete' actually means 'we move files to some hidden trash
> > directory'?
> > To move a file you must change trash directory inode, possibly growing
> > it. You must change original directory inode as well, but ext3/4 does
> > not shrink directory size on deletion.
> > Thus 'lack of free space' equals 'unable to move files'. Or "delete"
> > them, in DE speak.
> 
> I was under the impression that you just selected delete with the
> shift key held, but that's memories of windows almost 2 decades ago.

Same here. Been a long time, and I don't miss *that* experience at all.

> I think nowadays windows warns you when you delete a file that's too
> big for the trash; don't linux DEs do likewise?

OP's email said, to quote:

> I amusing the current debian version with KDE destop.

Funny things can happen if you use allegedly cross-platform set of
libraries (aka qt framework) to build a Modern Desktop Enviroment™,
using certain proprietary OS as an inspiration.

Back in the days of KDE3 I could answer 'yes' to your question.

But now? KDE sources could easily nominate for 'obfuscated C++
programming contents', and reading them aloud can summon dreaded
Spaghetti Monster :).

I could spend an evening with strace(1) and ltrace(1), and learn it, but
I'm too lazy to do it now.

Reco

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Cannot delete files ben <bcp123@frontiernet.net> - 2018-05-26 20:20 +0200
  Re: Cannot delete files <tomas@tuxteam.de> - 2018-05-26 20:30 +0200
  Re: Cannot delete files Hans <hans.ullrich@loop.de> - 2018-05-26 20:30 +0200
    Re: Cannot delete files David Wright <deblis@lionunicorn.co.uk> - 2018-05-26 20:50 +0200
      Re: Cannot delete files Reco <recoverym4n@gmail.com> - 2018-05-26 21:00 +0200
        Re: Cannot delete files Cindy-Sue Causey <butterflybytes@gmail.com> - 2018-05-26 22:30 +0200
        Re: Cannot delete files David Wright <deblis@lionunicorn.co.uk> - 2018-05-26 23:00 +0200
          Re: Cannot delete files Reco <recoverym4n@gmail.com> - 2018-05-26 23:20 +0200
      Re: Cannot delete files Abdullah Ramazanoğlu <ar018@yahoo.com> - 2018-05-26 21:00 +0200
      Re: Cannot delete files <tomas@tuxteam.de> - 2018-05-26 22:00 +0200

csiph-web