CyberNet News
Please login or register.

Login with username, password and session length
Pages: [1]   Go Down

Author Topic: Deleting a folder/file created in Ubuntu  (Read 5323 times)

0 Members and 1 Guest are viewing this topic.

xpgeek

  • Sr. Member
  • ****
  • Reputation: 19
  • Posts: 526
    • View Profile
    • WWW
Deleting a folder/file created in Ubuntu
« on: November 28, 2007, 02:51:29 PM »
Technically, this is a Windows XP problem, but it was made by Ubuntu, so thought I'd ask it here to make sure the Linux geeks see it.

I've been playing with Ubuntu for a few days, installed it to disk and used it. I liked it, had no problems with it really, nothing I couldn't figure out with 30 seconds on Google. But I just, ehh, didn't find anything about it that is a big advantage to me over Windows.

So I got rid of it now, fixed my MBR and deleted the partitions, all back to a normal single boot XP Pro SP2 now. Just one leftover little thing I can't get rid of. When using Ubuntu, I mounted my Windows partition so I could browse some files on it from Ubuntu, and am now left with this folder and file on the root of my Windows drive. It won't let me delete it. The folder was originally named .trash-mike, I tried renaming it, which it let me do, when I couldn't delete it, still can't delete it, and it won't let me rename it back to its original name. The file inside the folder I can't even rename.

When trying to delete folder :



When trying to delete file inside folder :



I could just leave em and ignore them, they have no size, but just wondering if anyone knows how I get rid of these.
Logged

spock1982 (Ernie)

  • Full Member
  • ***
  • Reputation: 23
  • Posts: 387
    • View Profile
    • WWW
Re: Deleting a folder/file created in Ubuntu
« Reply #1 on: November 28, 2007, 06:54:26 PM »
I am not familiar with this exact issue, but I wonder if you can right click on the folder and check the ownership of it. If your account is not the owner you should be able to take ownership if you are an administrator. Then you should be able to delete the folder.
Logged

Ryan Wagner

  • Administrator
  • Hero Member
  • *****
  • Reputation: 51
  • Posts: 3404
    • View Profile
    • WWW
Re: Deleting a folder/file created in Ubuntu
« Reply #2 on: November 28, 2007, 08:36:57 PM »
Try out this tutorial:
http://www.thetechzone.com/?m=show&id=600

It says that it will work as long as the file you want to delete is not at the root of the partition, and that file is not. I think once you delete the file removing the folder should be a piece of cake.
Logged

Pieter

  • Sr. Member
  • ****
  • Reputation: 34
  • Posts: 793
    • View Profile
    • WWW
Re: Deleting a folder/file created in Ubuntu
« Reply #3 on: November 29, 2007, 09:48:38 AM »
The file inside the folder I can't even rename.
What the... I've never seen that happen before. I can read/write to both my Windows and Ubuntu partitions from both OSes without these weird issues. That's probably not what you want to hear though. :)

Have you tried deleting them using Unlocker?
Logged
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." - Rich Cook

xpgeek

  • Sr. Member
  • ****
  • Reputation: 19
  • Posts: 526
    • View Profile
    • WWW
Re: Deleting a folder/file created in Ubuntu
« Reply #4 on: November 29, 2007, 02:52:40 PM »
Try out this tutorial:
http://www.thetechzone.com/?m=show&id=600

That almost worked, lol.

I created a new user account named Test, moved the folder to that account's files, deleted the account, and it deleted all the accounts folders, except, that folder and file, so I still have C \ Documents and Settings \ Test \ Test's Documents \ 1 \ n the file. It deleted everything else for the Test account EXCEPT that folder and file. lol

Ah screw it, I just renamed the folder to undeletablefile and moved it somewhere I'll never have to see it.
Logged

Ryan Wagner

  • Administrator
  • Hero Member
  • *****
  • Reputation: 51
  • Posts: 3404
    • View Profile
    • WWW
Re: Deleting a folder/file created in Ubuntu
« Reply #5 on: November 29, 2007, 07:10:04 PM »
Gotta love computers that have a mind of their own.
Logged
Pages: [1]   Go Up
« previous next »