Announcement

Collapse
No announcement yet.

cant delete folder

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

    cant delete folder

    Hi,

    i cant delete a folder with sudo krusader. where could be the problem?

    thanks
    kubuntu feisty
    newbee

    #2
    Re: cant delete folder

    maybe try
    kdesudo krusader
    ?
    (a graphical app requires kdesudo)
    An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

    Comment


      #3
      Re: cant delete folder

      The last time I installed and used Krusader, which wasn't recently, it installed a red "root krusader" and a blue "user krusader". So, KMenu > System > Red Krusader, and give your password, and you should be in very dangerous root mode krusader. Do not touch your user folder while running krusader this way, if you ever hope to log in again!

      Comment


        #4
        Re: cant delete folder

        @sisqonrw

        You're posing in Karmic, but your sig line says you're using Feisty. Which is it?
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: cant delete folder

          @dibl--good thing you chimed in! of course, I now recall that; I don't use Krusader, but did play once with it; thx
          An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

          Comment


            #6
            Re: cant delete folder

            For fresh-from-Win-World foks, like I was 4 years ago, Krusader is reminiscent of File Explorer from Win 95/98. So I understand its appeal. But in root mode, in the hands of a novice, it's a nuclear weapon. :P

            Comment


              #7
              Re: cant delete folder

              i am using karmic.
              with kdesudo krusader i cant delete the folder. i dont know why.
              kubuntu feisty
              newbee

              Comment


                #8
                Re: cant delete folder

                Are you cli capable, i.e. could you go open a terminal, navigate to the parent folder of the folder you would like to delete and post the output of
                Code:
                ls -la
                Oh, and please let us know which folder you are trying to delete
                Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                Comment


                  #9
                  Re: cant delete folder

                  i would like to delete this folders:

                  Code:
                  ls -la
                  insgesamt 48
                  drwxr-xr-x 12 salsero salsero 4096 2010-01-26 10:38 .
                  drwxr-xr-x 3 salsero salsero 4096 2010-01-26 13:43 ..
                  drwxr-xr-x 2 salsero salsero 4096 2010-02-07 14:48 01-Februar_2009_gesendet
                  drwxr-xr-x 2 salsero salsero 4096 2010-01-26 10:37 02-M?rz_2009_gesendet
                  drwxr-xr-x 2 salsero salsero 4096 2010-01-26 10:37 03-April_2009_gesendet
                  drwxr-xr-x 2 salsero salsero 4096 2010-01-26 10:38 04-Mai_2009_gesendet
                  drwxr-xr-x 2 salsero salsero 4096 2010-01-26 10:38 05-Juni_2009_gesendet
                  drwxr-xr-x 2 salsero salsero 4096 2010-01-26 10:38 06-Juli_2009_gesendet
                  drwxr-xr-x 2 salsero salsero 4096 2010-01-26 10:38 07-August_2009_gesendet
                  drwxr-xr-x 2 salsero salsero 4096 2010-01-26 10:38 08-September_2009_gesendet
                  drwxr-xr-x 2 salsero salsero 4096 2010-01-26 10:38 09-Oktober_2009
                  drwxr-xr-x 2 salsero salsero 4096 2010-01-26 10:38 10-November
                  kubuntu feisty
                  newbee

                  Comment


                    #10
                    Re: cant delete folder

                    Hm, forgive me for not delving into the krusader question 'cos I've never used it - worse, I'm not even running kubuntu But I take it your login name is salsero. In this case there should be no need for the root version of krusader. The normal one would do. Otherwise use the recursive rm command (rm -r) on the command line to delete folders which are not empty.
                    Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                    Comment


                      #11
                      Re: cant delete folder

                      i am root:

                      Code:
                      root@salsero-laptop:/home/salsero/Dokumente/Abrechnung Able Goods/2009# ls -la
                      insgesamt 48
                      drwxr-xr-x 12 salsero salsero 4096 2010-01-26 10:38 .
                      drwxr-xr-x 3 salsero salsero 4096 2010-01-26 13:43 ..
                      drwxr-xr-x 2 salsero salsero 4096 2010-02-07 14:48 01-Februar_2009_gesendet
                      drwxr-xr-x 2 salsero salsero 4096 2010-01-26 10:37 02-M?rz_2009_gesendet
                      drwxr-xr-x 2 salsero salsero 4096 2010-01-26 10:37 03-April_2009_gesendet
                      drwxr-xr-x 2 salsero salsero 4096 2010-01-26 10:38 04-Mai_2009_gesendet
                      drwxr-xr-x 2 salsero salsero 4096 2010-01-26 10:38 05-Juni_2009_gesendet
                      drwxr-xr-x 2 salsero salsero 4096 2010-01-26 10:38 06-Juli_2009_gesendet
                      drwxr-xr-x 2 salsero salsero 4096 2010-01-26 10:38 07-August_2009_gesendet
                      drwxr-xr-x 2 salsero salsero 4096 2010-01-26 10:38 08-September_2009_gesendet
                      drwxr-xr-x 2 salsero salsero 4096 2010-01-26 10:38 09-Oktober_2009
                      drwxr-xr-x 2 salsero salsero 4096 2010-01-26 10:38 10-November
                      root@salsero-laptop:/home/salsero/Dokumente/Abrechnung Able Goods/2009#
                      kubuntu feisty
                      newbee

                      Comment


                        #12
                        Re: cant delete folder

                        I'd suspect it's the "02-M?rz_2009_gesendet" file that's causing your issues, it's probably an encoding issue.

                        try 'rm *gesendet' to remove all the files ending with 'gesendet' in the directory, and try to remove the directory after that.

                        Edit: oops didn't notice those were directories, try 'rm -ri ./*gesendet' (run in 2009 directory) to see if that removes the directories (if the directories also include files with wrong encoding, it might not work)

                        Edit2: normal disclaimer: be very careful when using wildcards and -r option. For safety, use the -i (interactive) option to get a confirmation on what will be removed (and even safer to run the command as a regular user and not root)

                        Comment


                          #13
                          Re: cant delete folder

                          hmmm it doesnt work

                          Code:
                          salsero@salsero-laptop:~/Dokumente/Abrechnung Able Goods/2009$ rm -ri
                          rm: fehlender Operand
                          „rm --help“ gibt weitere Informationen.
                          salsero@salsero-laptop:~/Dokumente/Abrechnung Able Goods/2009$ sudo rm -ri
                          [sudo] password for salsero:
                          rm: fehlender Operand
                          „rm --help“ gibt weitere Informationen.
                          kubuntu feisty
                          newbee

                          Comment


                            #14
                            Re: cant delete folder

                            not 'rm -ri',
                            Code:
                            rm -ri ./*gesendet
                            (in english, that means interactively and recursively remove all files and directories that end in "gesendet" from the current working directory)

                            Comment


                              #15
                              Re: cant delete folder

                              thanks! it has works!
                              kubuntu feisty
                              newbee

                              Comment

                              Working...
                              X