Select "apply to enclosed items" and every folder and program within that folder will be unlocked. You can do the same thing for batch locking programs. There's a whole bunch of complicated stuff being suggested, but all you really need to do is hold 'command-shift' when emptying your trash.
I had a folder in my trash that wouldn't delete when I emptied. Mac OS would ask whether I wanted to delete the locked the file or not.
Clicking on "yes please" didn't actually delete it. I still don't know why it insisting on saying it was locked, but the Shift-Command while emptying got rid of it for good. Lost your password? Powered by the Parse. There's an annoying side effect of locking file when it comes to Mac OS X -- there's no fast way to override the state, like option-Empty Trash in OS 9. Not only does this not exist, but the Finder will report that you do not have "sufficient privileges" to delete the file which may be correct in a way, but rather misleading since we now have permissions to worry about.
Does anyone know of a quick way to remove file locks from the Terminal or another app? I've tried xFiles 1. The following comments are owned by whoever posted them. This site is not responsible for what they say. I've run into this same problem, where I couldn't delete a file because osX thought it was in use. If the file hasn't yet been moved to the trash, try to log into the terminal as root and use the rm command to delete it.
Be careful that you're deleting the correct file, as by default rm does not ask for confirmation. You can use tab-completion to get osX to insert the filename for you. Be careful with rm! Here's a simple bash script to run in a Terminal window! Better then nothing, but no option overrides are available that I know of [ Reply to This ].
Do it the old way Authored by: mchoya on Mar 21, '06 PM. This worked like a charm. I have had this locked file on the desktop for months. I don't mind unlocking files on an OS 9 volume using "Get Info", but I find it really aggrivating to do this for a folder with more than five files. I frequently have thirty or more files that that are all locked, and it gets really annoying.
Notice the "uchg" entry. How can I go through and remove this from all the files? I can't tell what kind of attribute this is. I know of two ways to clear this flag, either use from a Terminal the chflags command see man chflags for info ; the other, grab ChangeFileFolderProps to do this with a GUI. Unlocking many files Authored by: absorber on Dec 13, '01 PM.
Using other comments in this thread for reference, I managed to put together the following procedure for unlocking every file in a directory and all of its sub-directories. In this case, the flag is "uchg", which means that no user, even root, can alter the file in any way until the flag is removed.
You can use the command chflags to remove the flag. For the Trash Authored by: renderhead on Jan 21, '05 PM. The utility "BatCHmod" will let you drag any file, folder, or volume to it, and then let you unlock all items inside that item. Hi, you can easily unlock multiple files and folders using the terminal.
JMac [ Reply to This ]. Search Advanced. From our Sponsor Latest Mountain Lion Hints Click here for complete coverage of Lion on Macworld. If you want to delete one locked file, move it to the trash, and when you click "Empty Trash For multiple locked files, hold down Shift and Option while you empty the trash. Changing or moving locked files can be a burden, though. You can click on the file, choose "Get Info Luckily, there are a few shortcuts that you can use to unlock these files:.
Whatever you decide to do, make absolutely sure you are deleting the right files—there's usually a reason someone went through all the trouble of locking a file! This is good to know. I don't own a Mac myself I take that back.
It is really old , but I have friends and relatives who do. This problem may come up and I'll know what to expect. What the heck? How can I remove it? Like all modern operating systems, your Mac has a sophisticated model for managing files and applications.
You can imagine a hacker sneaking onto your computer, changing some of the key system files like the change password utility! Even in Terminal, it can require expert knowledge to show absolutely everything on your Mac system.
So your first step is to check with the vendor: do they have an uninstall program? If they do, use that. No panic. Can you see the fourth checkbox right in the middle of the info window? This is pretty secure! You can see the padlock above. But not in this case. This also worked with the Code It still said "Permission denied", "Directory not empty". What's gone wrong?
0コメント