Can't delete random boot.efi file


Recommended Posts

Some weird file remained in my trash after deleting my Aperture library back up file from an external hard drive.

 

I can't get rid of it.

 

I've tried:

1.) Restarting finder, multiple times.

2.) Rebooting, multiple times.

3.) A basic Sharing & Permissions adjustment (which you can see does not work in the video)

4.) Changing permissions using CHMOD 777 in Terminal.

 

Uhh... any other ideas?

 

Link to comment
https://www.neowin.net/forum/topic/1160360-cant-delete-random-bootefi-file/
Share on other sites

What about the Terminal command

sudo rm -rf ~/Desktop/boot.efi

But what puzzles me is how a file only found inside the OS X System folder comes into play with Aperture.

 

Also try looking at this ling on how to unlock files in OS X using Terminal http://superuser.com/questions/40749/command-to-unlock-locked-files-on-os-x

 

Your computer is a Hackintosh? I get some videos on Hackintoshes after viewing your video. If it is then it's mysterious because is it not needed for Chameleon?

Just asking - you can safely ignore this comment about Hackintoshes - I have one stashed away myself so I'm not holy about it :)

Unlocking the file is a good suggestion. It would also be helpful if you try removing it from Terminal like allan.nyholm suggested; then if it fails you can at least get a specific error message.

 

Troubleshooting this issue should be easier for you with a complete understanding of the OS X permissions system. Unfortunately Apple developed more than one. The first answer to this superuser.com question provides a good overview of permissions in OS X.

 

  Quote

 

Mac files can be protected in four three different ways that I'm aware of:

  1. Standard Unix ownerships and permissions like r/w/x for user/group/others that you see with ls -l and fix with chown(1) and chmod(1).
  2. File flags like uchg and schg that you see with ls -lO and fix with chflags(1).
  3. The old Finder metadata "Lock bit" that you see with GetFileInfo filename. You can also see the presence of the Finder metadata, but not its meaning, with ls -l@. You can fix it with SetFile(1). Never mind, this is mapped to the uchg flag now.
  4. Access Control Lists (ACLs) that you see with ls -le and fix with the ACL-related arguments to chmod(1).

So let's see what's up with your file by combining all those flags to ls:

ls -lO@e main.m
  • 3 weeks later...
  On 26/06/2013 at 03:35, Mikee4fun said:

Have you tried logging is as root and then attempted deleting it. 

 

Also this guy looks like he solved a similar issue

 

http://forums.macrumors.com/showpost.php?p=14198556&postcount=4

 

No go.

 

  On 26/06/2013 at 06:11, Timan said:

Curious if you've tried secure delete. Finder > Secure Empty Trash. 

 

I couldn't even get it into the trash.

 

  On 26/06/2013 at 11:56, allan.nyholm said:

What about the Terminal command

sudo rm -rf ~/Desktop/boot.efi

But what puzzles me is how a file only found inside the OS X System folder comes into play with Aperture.

 

Also try looking at this ling on how to unlock files in OS X using Terminal http://superuser.com/questions/40749/command-to-unlock-locked-files-on-os-x

 

Your computer is a Hackintosh? I get some videos on Hackintoshes after viewing your video. If it is then it's mysterious because is it not needed for Chameleon?

Just asking - you can safely ignore this comment about Hackintoshes - I have one stashed away myself so I'm not holy about it :)

 

My sig says "27" iMac".  No hackintosh ;)

 

But the sudo command actually worked!!!  I don't reboot too often, but if it's there next time I boot up, I'll let you know.

 

Since that didn't work, I didn't get to xorangekiller's suggestion.

  • 1 month later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • In the old days i'd spend hours playing 3D Pinball, when i got tired of that, switched to playing Need for Speed High stakes a while, or Police Quest Swat games i had back then. Minesweeper & Solitarie i never was any good at unforuately Did have installed on older PC Then EA Sports NHL Hockey game lol, and Madden NFL games at times, Simcity 2000, Flight Sim 2000, Palace chat, and then later on got into SecondLife in early 2008, and that took up alot of my time after that lol Watched sometimes TV shows in Windows Media Center in the old days--til that faded away into distant past lol. Honestly i was amazed with older MS Windows version i did so much on my old At&t Dsl 6mb connection lol. Gaming Updates NetMeeting video conferences Yahoo Messenger webcam usage at times MSN Messenger games with contacts--checkers, believe was a Pool game as well, though can't remember exactly what all games was available at the time with Messenger lol Windows Live Mail used til it went unsupported, then switched to Outlook Desktop app that came with MS Office purchase Windows Live OneCare til 2009 Skype was one of probably first users, when they had a year of free calling to mobile or landline, probably around 2007 as i remember using it a bit when i was still using Palace chat at the time. Used til it was offically shutdown in May 2025 Skydrive, and later Onedrive used since release I used alot of Microsoft products over the years, even had Sidewinder Headset, Keyboard, Mouse, and Joystick, and Gamepad up til they stopped being supported or no longer worked, then switched to Logitech
    • Hello, Will Visa and MasterCard go after bookstores next? Pretty much every one of them has a romance section. Regards, Aryeh Goretsky
    • He's pretty much a standard MBA now. He's not even putting tech over people. He puts the stock price over everything. He's a visionary in that he's always watching the line go up or down.
  • Recent Achievements

    • One Month Later
      Devesh Beri earned a badge
      One Month Later
    • Week One Done
      Harold57 earned a badge
      Week One Done
    • Rookie
      Brett76 went up a rank
      Rookie
    • One Month Later
      Brett76 earned a badge
      One Month Later
    • Apprentice
      Snake Doc went up a rank
      Apprentice
  • Popular Contributors

    1. 1
      +primortal
      588
    2. 2
      ATLien_0
      236
    3. 3
      Xenon
      149
    4. 4
      Michael Scrip
      139
    5. 5
      +FloatingFatMan
      119
  • Tell a friend

    Love Neowin? Tell a friend!