SitePoint Sponsor

User Tag List

Results 1 to 12 of 12

Threaded View

  1. #1
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    5,169
    Mentioned
    153 Post(s)
    Tagged
    0 Thread(s)

    Linux: Can't delete a folder or its contents

    Okay, this is a first for me, but I can't delete this one folder and its contents on my NAS and it just blows my mind.

    Here is the output of ls -la and the delete command:
    Code:
    $ ls -la
    drwxr-xr-x 0 cpradio family         0 Sep  3 21:44 myweirdfiles-NoGrp
    $ ls -la myweirdfiles-NoGrp/
    total 1308696
    drwxr-xr-x 0 cpradio family        0 Sep  3 21:44 .
    drwxr-xr-x 1 cpradio family        0 Sep 20 20:55 ..
    -rwxr-xr-x 0 cpradio family 99614720 Jun 27 09:51 myweirdfile._.part01.rar
    -rwxr-xr-x 0 cpradio family 99614720 Jun 27 09:52 myweirdfile._.part02.rar
    -rwxr-xr-x 0 cpradio family 99614720 Jun 27 09:54 myweirdfile._.part03.rar
    -rwxr-xr-x 0 cpradio family 99614720 Jun 27 09:55 myweirdfile._.part04.rar
    -rwxr-xr-x 0 cpradio family 99614720 Jun 27 09:57 myweirdfile._.part05.rar
    -rwxr-xr-x 0 cpradio family 99614720 Jun 27 09:58 myweirdfile._.part06.rar
    -rwxr-xr-x 0 cpradio family 99614720 Jun 27 10:00 myweirdfile._.part07.rar
    -rwxr-xr-x 0 cpradio family 99614720 Jun 27 10:01 myweirdfile._.part08.rar
    -rwxr-xr-x 0 cpradio family 99614720 Jun 27 10:02 myweirdfile._.part09.rar
    -rwxr-xr-x 0 cpradio family 99614720 Jun 27 10:04 myweirdfile._.part10.rar
    -rwxr-xr-x 0 cpradio family 99614720 Jun 27 10:05 myweirdfile._.part11.rar
    -rwxr-xr-x 0 cpradio family 99614720 Jun 27 10:07 myweirdfile._.part12.rar
    -rwxr-xr-x 0 cpradio family 99614720 Jun 27 10:08 myweirdfile._.part13.rar
    -rwxr-xr-x 0 cpradio family 45109370 Jun 27 10:09 myweirdfile._.part14.rar
    $ sudo rm -vRf myweirdfiles-NoGrp/
    [sudo] password for user: 
    rm: cannot remove `myweirdfiles-NoGrp': Directory not empty
    Even when I rm a specific file, it doesn't actually get deleted... (it states, no such file or directory)
    Code:
    $ sudo rm myweirdfiles-NoGrp/myweirdfile._.part01.rar 
    rm: cannot remove `myweirdfiles-NoGrp/myweirdfile._..part01.rar': No such file or directory
    Thoughts?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •