Announcement

Collapse
No announcement yet.

[SOLVED] Cannot delete directory

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Cannot delete directory

    Hello! I've used kubuntu for a while, and I love it.
    I have a little problem: there is a directory I want to delete, but rm says
    "rm: cannot remove directory `./aq/sas/po/dds/sd/w/c/ab/a': File exists". Dolphin reports no errors, but can't remove it either.
    I think the problem is the too long path. If that helps, it is a NTFS partition (yes, I'm using ntfs-3g).
    Thanks for your help

    #2
    Re: Cannot delete directory

    Code:
    ls -l /directory
    shows permissons
    to remove directory:
    Code:
    rm -r /directory

    Comment


      #3
      Re: Cannot delete directory

      Thanks for your reply.
      I have all the rights on that directory, and I've also tried with sudo. However, the problems remains. :-(

      Comment


        #4
        Re: Cannot delete directory

        It could be this (NTFS +rm): Cannot remove, file exists problem >> Why do I get a "File exists" message when deleting an empty directory?
        If the locale environment is not setup correctly before mount then glibc can't convert some filenames, so they are not visible and the directory is indeed not empty. Solution:...
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Re: Cannot delete directory

          Thanks! After remounting it with the locale option it worked flawlessy!

          Comment

          Working...
          X