Terminal locks up trying to delete folder

I deleted a folder. Since it entered the trash, whenever I try to empty the trash, it stops responding, won't cancel, and I have to restart Finder (and it doesn't delete the directory). I've tried restarting, repairing permissions, secure delete, forced emptying of the trash, they're not locked, I have permission to write/erase, etc.
In terminal, when I try to delete the folder, I get the same thing - it just hangs with no output - basically no CPU utilization (2-3%).
So I deleted all the contents until I got to these remaining 3 directories & 2 files. They delete in terminal successfully, but still show up in Finder as being in the Trash. Similarly, all the other contents in the Trash delete fine in Terminal, but continue to persist in the Trash in Finder. But directory is empty in Terminal with the exception of this one, evil folder.
Any ideas?

nm, figured it out - had to boot into the backup disc and perform a formal disk repair, fixed everything.

Similar Messages

  • Folder Access Denied when trying to delete folder

    I am using Windows 2008 server.  I have a folder that I had setup as a share but now I want to delete it.  I am logged in with a domain account that is a member of the local Administrators group.  When I try to delete the folder I get a "Folder
    Access Denied" message followed by "You need permission to perform this action. You require permission from Administrators to make changes to this folder". 
    Then I am presented the options of Try Again or Cancel.  I select Try Again but again get the "Folder Access Denied" message.  How can a member of the local Administrators group be denied access to deleting a folder that is on that same server
    that I am logged into?

    Hi,
    I would like to suggest you run the following commands with elevated privilege.
    takeown /f {Folder Path}
    cacls { Folder Path} /G administrators:F
    Note: please replace {Folder Path} with the real folder path.
    After that, please try to delete the folder again.
    Does it work?
    Regards,
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Ipad locks while trying to delete aps

    I have experienced this problem since the ios 8 update. The most recent update (8.1.2) did not correct the issue.
    When I try to delete an app I press and hold until the x appears and all the apps start to wiggle, when I press on the app I wish to delete the ipad locks up, the aps keep wiggling but pressing on the x has no effect.  about a third of the wiggling apps blink on and off of the screen and no other functions, buttons or swipes will work while this is happening. I have to reboot the ipad to get it working normally again. No issues otherwise, It is a 3rd generation model A1403, 16gb with cellular.

    Hey landscapr,
    Welcome to Apple Support Communities. 
    It sounds like there an issue deleting apps from your iPad which causes it to stop responding and need to be reset. If you haven’t already, try restoring your iPad as described in the article linked below.
    Use iTunes to restore your iOS device to factory settings - Apple Support
    Take care,
    -Jason 

  • Deleting Folder Layer makes Flash CC lock

    In Flash CC, in Win 7 Home Premium 64-bit, I'm trying to delete a folder with layers in it. I get the message 'Deleting this layer folder will also delete the layers nested within it. Are you sure you want to delete this layer folder? As soon as this window appears, Flash is frozen and I must use Task Manager to close it.
    The same thing happens when I try to open an FLA that was created in Flash CS3 with Action Script set to 1.0 in Publish Settings. I get the window stating that Flash will convert the file to AS 3.0, but I cannot click the button to approve that, and Flash is locked.
    Any ideas on what's causing this?

    Similar issues I'm having with Flash CC (the program is essentialy unusable):
    - When I Save As, the Confirm Save As Window opens, and says 'The file already exists.' Yes and No are the options. Rollover with mose highlights the 'Yes' or 'No' but you cannot click either button. Flash CC freezes.
    - When I try to change the outline color by clicking the square beside the Padlock in a layer, the Layer Properties Window opens, but when I click the color swatch next to ' Outline color:' the swatch does not appear.
    - Flash CS3 works OK on this computer.
    - Generally, it seems that no dialog windows function correctly. I can draw with no problems.
    Any suggestions are greatly appreciated.

  • Strange issue while trying to delete files - locked item that I can't find

    I am working on clearing off some hard drive space, and my first step was to remove some unneeded items from an external HD to make some space there. When I drag the folder I'm trying to delete to the trash, I first get a message that the items will be immediately deleted (I think because my internal HD is quite full?) and that's fine because I do want to delete these, so I say OK. It starts the process of deleting, and counting how many files it's deleting, then gives me a message that the operation cannot be completed because item "xx" is locked. The only solutions I have found on here involve unlocking "xx" but my problem is, when I search the computer and/or the external for item "xx" nothing is found. I'm really not sure if the issue with item "xx" is an issue with the drive or with the computer, or what to do about it?? If it's the drive, I suppose I could back up what I do want to save from the drive then re-format it?? Any help would be greatly appreciated, and please word any answers as if you are speaking to a complete idiot, because with regards to this kind of information, you are! Thanks!

    Ah, I see now.
    HOWTO: find and unlock locked files scattered on your Mac OSX local and removable hard drives
    http://webpageauthority.wordpress.com/2010/04/26/howto-find-and-unlock-locked-fi les-scattered-on-your-mac-osx-local-and-removable-hard-drives/

  • Terminal (Shell) continues to show a folder even if it is deleted/ renamed

    Make a folder, let us say "xyz" on desktop and cd to this location on a terminal using 'cd' command.
    Now rename that folder to "abc".
    Now type 'ls' command on Terminal to see the content of folder "xyz", it still shows.
    In addition if you use 'pwd' command, it still shows that you are in directory "xyz"
    Worse is that even if you delete the folder "xyz" and empty trash. Even then using 'pwd' command would show your present working directory as "xyz" folder.

    All expected behavior.
    Make a folder, let us say "xyz" on desktop and cd to this location on a terminal using 'cd' command.
    Now rename that folder to "abc".
    Now type 'ls' command on Terminal to see the content of folder "xyz", it still shows.
    The 'cd' command makes a chdir() system service call, which opens the target directory and stores the open file descriptor in the process.
    When you rename the folder, that just changes the directory entry in its parent folder, it does not change the file system inode for the directory nor does it affect already open file descriptors to the directory.
    So when you do an 'ls' with no path, the 'ls' command will ask the file system for the '.' (current directory), which the file systems knows to use the current working directory it already has saved in the process.
    This is how Unix has worked forever.
    In addition if you use 'pwd' command, it still shows that you are in directory "xyz"
    'cd' and 'pwd' are bash built-in commands, so bash has cached the last 'cd' path, and when you issue 'pwd', bash just echos the cached path information. It does not verify anything before displaying the path.
    If you want to see the real current path, then try using
    /bin/pwd
    this will do the more complex reverse path reconstruction, which can have some unexpected responses, because of symbolic and hard links that may have been used to navigate down to the current directory location.
    Worse is that even if you delete the folder "xyz" and empty trash. Even then using 'pwd' command would show your present working directory as "xyz" folder.
    Again, bash is just echoing the cached path that bash last knew about.
    Also since the process still has an open file descriptor to the directory open in the process as the current working directory, the file system will defer the actual directory delete until after that file descriptor is closed.
    The fact that a file or directory will not be truely deleted if it is still open, allows an application to continue to use a file if it has it open, even when some other process deletes the file. This can be good for the application, but if that was a huge file and you were trying to free up space, you would not see the space returned until after the process that has the file open, closes the file.
    You can use the 'lsof' command to find what processes have what files/directories open.
    In the future, if you have additional Unix or Terminal related questions it would be best to post them in the Mac OS X Technologies > Unix Forum
    <http://discussions.apple.com/forum.jspa?forumID=735>

  • I am trying to delete songs from itune 11 library and i want it to delete the song from my hard drive as well.  All my songs are in the music folder but not in the itunes folder??  itunes did not prompt me to move file to trash nor is there an option??

    I am trying to delete songs from itune 11 library and i want it to delete the song from my hard drive as well.  All my songs are in the music folder but not in the itunes folder.  itunes did not prompt me to move file to trash nor is there an option to remove file to trash bin.  How can i  delete songs from both the itunes and hard drive at the same time?

    aespinoza2210 wrote:
    could it be in the itunes folder or does it have to be in the itunes media folder, which is within the itunes folder??
    A Espinoza,
    The iTunes Media folder is set in Preferences > Advanced, and is the key to most iTunes folder organizational activities.  So I doubt that the automatic deletion will work for files that are somewhere else within the folder structure.
    However, I have not experimented with that issue in quite a while, so you are welcome to give it a try in iTunes 11. 

  • HT1923 In trying to delete the Apple file in the Program/Common File I can delete all contents except the Internet Services folder.  Thus preventing me from deleting the Apple FIle.  Error message says I need permission to delete this file.  How do I proc

    Trying to delete the Apple Folder from Program Files/Common Files.  I can delete all the contents except for the Internet Services folder which prevents me from making the deletion.  The error message says "you need permission to delete this file".
    Discovered this problem when trying to upgrade from my 3G iPhone to a new 5S iPhone unsucessfully.

    See note 3 of Troubleshooting issues with iTunes for Windows updates.
    tt2

  • I tried to delete one item from an email folder, and my computer deleted the whole file. I cant fint it anywhere.

    I tried to delete one item from an email folder, my computer deleted the whole file and I cant find it anywhere. Any ideas?

    lindafromgainesville wrote:
    ...is there a seperate trash for email?
    In Mail, yes -

  • MAC OS 10.7 Trying to Delete from TRASH Time Machine FOLDER (file)

    Trying to delete time machine Folder(files) from TRASH. even used secure option, goes through ok. but will not delete from TRASH. files delete from
    Time Machine Drive ok, deletion gives you more space on TM DRIVE Time Machine runs ok, How to Delete the Folder (Files) From TRASH?

    Hello Mtaff,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    You can't empty the Trash or move a file to the Trash
    http://support.apple.com/kb/ht1526
    press Shift-Option or Option key combination while emptying the Trash
    Have a nice day,
    Mario

  • Warning when trying to delete a folder

    Hi
    I am getting the following warning message when I try to delete a folder. The delete button is active and when I hit the delete button a confirm message pops up. When I confirm the delete I get the following warning message and the folder does not get deleted.
    "<<<< Unable to modify target configuration because it is set as final. >>>>"
    Please note: I am able to delete the files in the folder. The issue is only with the folder itself and all folders within this folder.
    Any help is highly appreciated.
    Thanks and Regards
    -- Venu RR

    Hi Matt
    Thanks for your prompt reply.
    If a folder inherits policies from the parent folder and if the parent does not allow subfolders to override the policies, is it impossible to delete the folder?!!
    Please find below the details requested by you: -
    I am using Content Services 10.1.2.0.0
    The policy configurations for the folder I am trying to delete are: -
    Sharing
    Inherit Settings
    Group: All Site Users, Access Roles: Administrator, Author, Reader
    It is set to FINAL
    Versioning
    Inherit Settings
    Set to Auto Versioning
    Auto Labeling Enabled
    Labeling Format : 1.0, 2.0, 3.0 ...
    It is set to FINAL
    Categories
    Inherit Settings
    Category "Service Request File" required
    It is set to FINAL
    Workflow
    Operation: Delete
    Inherit workflow settings from parent folder
    It is set to FINAL
    Serial Approval WF
    Skip WF if submitted by an approver is SET
    Justification is a mandatory parameter
    Thanks and Regards
    - Venu

  • I tried to delete an audio recording on my iphone and pressed edit configure and now am locked out of it

    I tried to delete an audio recording from my iphone ipod and pressed edit and got a message saying configur ipod I did this and now I am locked into only one topic and recording.  Now after a couple of hours I cannot get into my ipod at all. 
    Can anyone help. Thank you.

    Hi,
    I tried to log in to iCloud but a message appears telling me I "can't sign in because my account was disabled for security reasons....reset password at iforgot.apple.com". I don't know why this happened.
    I reset both my Apple ID and password.
    When I tap Settings iCloud is listed on the left side between General and Mail, Contacts etc.
    Tapping iCloud brings up a log in screen for iCloud which shows my old Apple ID and requests the password. If I put the password in I get the message as above.
    If I use the new Apple ID/Password I get the message "the maximum number of free accounts have been activated....
    In settings there is no option to "Delete Account"
    Any suggestions??

  • I downloaded some you tube vedios.They were not open but remain in the dwlhelper folder. I tried to delete them but could not. help me to delete them.

    I tried to delete them but could not. Help me to delete those files which were not open.

    hello ameen, try to restart your computer and delete the files immediately afterwards. alternatively you might use a tool like [http://www.emptyloop.com/unlocker/ unlocker] to remove the lock and delete the files...

  • Tried to delete an email and got message "The folder Trash is full, and can't hold any more messages. To make room . . . . " but the trash folders are empty!

    Trash folder is empty.
    Same problem trying to delete messages from 'sent' folder
    Problem continues after computer restart.

    Compact your folders. Deleting a message marks it for deletion and hides it. The disk space is not freed up until folders are compacted.
    Using the Compact command under File does all floders. You can right clcik a folder and select Compact to do just that folder.
    Compacting is a normal maintenance item and should be donr regularly.

  • I'm trying to delete multiple pix in iPhoto that i stupidly made duplicates of without knowing, I've tried going into the applications folder and using image capture but i think I've missed a step , can anyone send the correct info / steps pls thanks

    I'm trying to delete multiple pix in iPhoto that i stupidly made duplicates of without knowing, I've tried going into the applications folder and using image capture but i think I've missed a step , can anyone send the correct info / steps pls thanks

    again image capture is not involved with deleting photos from iPhoto in any way ever
    the paid version of iPhoto Library Manager is very good for finding duplicates as is Duplicate Annihilator
    And I have no idea who told you this - or what it means - but re-read both of my opening statements
    I was told I could delete multpiles thru image capture by transferring my iPhoto library etc
    LN

Maybe you are looking for

  • How to change the text in Logon Page in NWDS7.3/EP7.3

    Hello Experts, I am using NWDS7.3, & there is a requirement to change the text "User authentication failed " to some custom text. The message generally comes when you use wrong used id and password while logging portal url. I have downloaded the WAR

  • Aperture fotos opening in photoshop as negative- HELP???

    hi. im having a problem where when i go to edit an image, it opens in photoshop looking all cyan and negative. ive tried changing the image to rgb, 8 bits, seemingly everything. has anyone had this problem? pease help! thanks

  • Bloated Library Size - A question re. saving edits vs. origionals

    Hi - I often do minor tweaks to almost every photo I import to my library - does anyone know if there is a way to save only the edited versions of photos and lose the originals?? I'm guessing I could reduce my library (which is now around 15 gigs) by

  • Graphs (in JSP)

    I created a simple bar chart by dropping my VO onto my JSP as a graph. I notice that when I display the data value above each bar, the data value displays with decimals. Is there any way to display data values without decimals (i.e., "56" vs. "56.0")

  • Performance issue-  urgent plz

    we did a upgrade from 9.2.0.8 to 10.2.0.4 in aix 5l (64 bit) after thae we experience slow in performance. te frontend application Peoplesoft kindly help me in getting this resolved thanks in advance