• Is it a directory or is it a miracle?

    From Friedrich Vosberg@post@vatolin.de to comp.sys.mac.system on Thursday, April 20, 2006 03:05:20
    From Newsgroup: comp.sys.mac.system

    Morning.

    I found three directories in

    ~/Library/Mail/Mailboxes

    they seem to be empty (Messages-1.mbox, Messages-2.mbox and de1ee8.003)
    . So I put them into trash and want to delete them. But I can't. The
    system meants they are busy. But I can't find why. Another miracle is
    that Spotlight and FileBuddy find emails in Messages-1.mbox if searched
    by keywords. And the greatest wonder ist, that Messages-1.mbox contain
    a lot of space but obviously no data. What's wrong?

    It's impossible to zip the directories or to copy into the DropBox of
    another user due to read/write error the system tells.

    ===== 8>< =====
    albook:~/.Trash fv$ ls -al
    total 16
    drwx------ 6 fv fv 204 Apr 19 19:06 .
    drwx------ 25 fv fv 952 Apr 19 18:44 ..
    -rw------- 1 fv fv 6148 Apr 19 19:06 .DS_Store
    drwxr-xr-x 4487 fv fv 152558 Apr 19 16:50 Messages-1.mbox
    drwxr-xr-x 4 fv fv 136 Apr 19 16:54 Messages-2.mbox
    drwx------ 3 fv fv 102 Apr 17 23:17 de1ee8.003
    albook:~/.Trash fv$ cd Messages-1.mbox
    albook:~/.Trash/Messages-1.mbox fv$ ls -al
    albook:~/.Trash/Messages-1.mbox fv$
    ===== ><8 =====

    TIA and kind regards. Friedrich

    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Carl Witthoft@carl@witthoft.com to comp.sys.mac.system on Saturday, April 22, 2006 11:10:43
    From Newsgroup: comp.sys.mac.system

    In article <1145527520.899717.285100@j33g2000cwa.googlegroups.com>,
    "Friedrich Vosberg" <post@vatolin.de> wrote:

    Morning.

    I found three directories in

    ~/Library/Mail/Mailboxes

    they seem to be empty (Messages-1.mbox, Messages-2.mbox and de1ee8.003)
    . So I put them into trash and want to delete them. But I can't. The
    system meants they are busy. But I can't find why. Another miracle is
    that Spotlight and FileBuddy find emails in Messages-1.mbox if searched
    by keywords. And the greatest wonder ist, that Messages-1.mbox contain
    a lot of space but obviously no data. What's wrong?

    It's impossible to zip the directories or to copy into the DropBox of
    another user due to read/write error the system tells.

    ===== 8>< =====
    albook:~/.Trash fv$ ls -al
    total 16
    drwx------ 6 fv fv 204 Apr 19 19:06 .
    drwx------ 25 fv fv 952 Apr 19 18:44 ..
    -rw------- 1 fv fv 6148 Apr 19 19:06 .DS_Store
    drwxr-xr-x 4487 fv fv 152558 Apr 19 16:50 Messages-1.mbox
    drwxr-xr-x 4 fv fv 136 Apr 19 16:54 Messages-2.mbox
    drwx------ 3 fv fv 102 Apr 17 23:17 de1ee8.003
    albook:~/.Trash fv$ cd Messages-1.mbox
    albook:~/.Trash/Messages-1.mbox fv$ ls -al
    albook:~/.Trash/Messages-1.mbox fv$
    ===== ><8 =====

    TIA and kind regards. Friedrich

    If you are bent on deleting things you don't understand, try

    %chmod 777 [filename]
    you may have to sudo to do that.

    But first off: why the desire to delete relatively small directories?
    You aren't saving measurable disk space, and if some application (like,
    say, Mail) expects to see those directories, then something will foul up.
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From post@post@vatolin.de (Friedrich Vosberg) to comp.sys.mac.system on Saturday, April 22, 2006 18:42:57
    From Newsgroup: comp.sys.mac.system

    Carl Witthoft <carl@witthoft.com> wrote:

    But first off: why the desire to delete relatively small directories?

    Because something with this directory obviously ist wrong. I've renamed
    it to /Messages. For instance
    - it avoids to deactivate FileVault,
    - it resides after deleting in ~/.Trashes/501 but the trashcan in
    Finder is empty,
    - if I move /Messages to Desktop or any other directory and put a file
    into it the file disappears but Spotlight finds the file by name,
    - I can not zip or copy /Messages due to an error code -36.

    That's why I want to delete this directory.

    Look at this:

    AlBook:~/.Trashes fv$ sudo ls -al
    total 0
    d-wx-wx-wt 3 root admin 102 Apr 21 13:27 .
    drwx------ 25 fv fv 952 Apr 21 09:43 ..
    drwx------ 3 fv unknown 102 Apr 21 13:32 501
    AlBook:~/.Trashes fv$ sudo rm -rf 501
    rm: 501/Messages: Directory not empty
    rm: 501: Directory not empty
    AlBook:~/.Trashes fv$ cd 501/Messages
    AlBook:~/.Trashes/501/Messages fv$ ls -al
    AlBook:~/.Trashes/501/Messages fv$

    What's now true? Is the directory /Messages *not* empty (line 7) or *is*
    it empty (line 11)? And why the directory does not contain . and .. ?

    For *these* reasons I want to delete this directory.

    Kind regards. Friedrich
    --
    Kinderlärm ist Zukunftsmusik.
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Howard S Shubs@howard@shubs.net to comp.sys.mac.system on Saturday, April 22, 2006 14:26:41
    From Newsgroup: comp.sys.mac.system

    In article <1he7kug.1ri49h6aq9ttdN%post@vatolin.de>,
    post@vatolin.de (Friedrich Vosberg) wrote:

    For *these* reasons I want to delete this directory.

    Try Alsoft's DiskWarrior. It'll fix directory damage.

    --
    We are the music makers, And we are the dreamers of dreams,
    Wandering by lone sea-breakers, And sitting by desolate streams.
    from "Ode", Arthur O'Shaughnessy
    --- Synchronet 3.18b-Win32 NewsLink 1.113