"file in use" and other "unexpected" error messages

I may have found a bug in Tiger, and in case nobody has a plausible explanation for the problem, I will send a bug report:
I copied a locked file (shows a little lock symbol in its icon) from one Mac to the other via a network share (using Finder). I then tried to open that file on the other Mac, but failed with the error message "file in use". But the computer the file had been copied from had already disconnected and shut down, and the Mac I had copied the file to had booted once.
I then looked at the file security settings, but found nothing abnormal. But I was not allowed to change any of the security settings (owner and permissions).
I then tried the Terminal and tried commands like "sudo chmod" or "sudo chown", and got nothing but error messages.
What kind of operating system does not allow the supervisor ("root") to change file permissions?!?
I then tried to repair the volume, but DiskUtility thinks all is OK. Fine. And the file is obviously NOT in use (otherwise the volume could not have been unmounted).
I finally tried the tool SetFileInfo from the development system to change permissions and type/creator. "sudo SetFileInfo -whatever" gives "unexpected error". Aha, "unexpected". So there is something wrong in Denmark. Or California.
At least there is one hint what's going wrong: GetFileInfo shows an abnormal type/creation combination, something like "brok" and "macs".
The only thing I finally managed to do with the file was "sudo rm". I got some warning about unknown user and unknown group and override whatever, then the file was deleted. At least I think so. After removing the "locked" flag the copy process went fine, and the copy of the file could be opened on the other Mac, so it seems that there is a problem with copying "locked" files.

Thank you for that hint! It does not fix the bug, but opens a way to a workaround.
I repeated the test, i.e. copied a locked file, and indeed the copy is protected with a "uchg" flag.
Removing the "uchg" flag still left the file locked, i.e. no other attribute (owner/group/rwx) could be changed. But the SetFile command now was able to remove the creator ('MACS') and type ('brok') settings.
After that the "second lock" had been removed, and now the "locked" attribute could be removed, and after having removed this third lock the file was accessible.
So I think that was enough of (unpaid) investigation, and I am going to send a bug report to Apple.

Similar Messages

  • I am trying to save a file in Acrobat and get an error message...

    I am trying to save my Turbotax file in pdf form but every time I try, I get the following message: " An error occurred in the processing of your tax return in PDF format.  Error: 4"  Does anyone have any idea what is going on?  I downloaded the most current form of Acrobat today.  Thank you-Gail

    schipperkefarms wrote:An error occurred in the processing of your tax return in PDF format.  Error: 4"
    That doesn't sound like an Acrobat error at all.
    schipperkefarms wrote:
    I downloaded the most current form of Acrobat today.  Thank you-Gail
    But are you using Acrobat to create the PDF (and are you sure it isn't Reader that you downloaded?)
    If you are literally using the "save" function from Turbotax, chances are it isn't using Acrobat at all but it's own PDF generator. You would want to talk to the Turbotax folks.
    If this is not the case, maybe you can give us some more specifics on exactly what steps you are taking to create the PDF.

  • Files download 90% and then give error message

    When I download a large file (e.g., video, app) with Firefox 4, the download moves along fine and, when it's almost complete, the download stops and says the source can no longer be found.
    I never had this problem with Firefox 3. Sadly, I now have to use IE when I want to download a file. I don't use IE for anything else and I'd prefer to download files from within Firefox again.

    Try running Firefox in [[Safe Mode]]. If it functions properly in that configuration, then one of your add-ons is the culprit.

  • Hi. I recently got a new computer and transferred all my files across using TimeMachine. Whenever I try to sign into any CC program (including CC) the program instantly shuts down and an Apple error message comes up. I have uninstalled and reinstalled CC

    Hi. I recently got a new computer and transferred all my files across using TimeMachine. Whenever I try to sign into any CC program (including CC) the program instantly shuts down and an Apple error message comes up. I have uninstalled and reinstalled CC twice with no avail and deleted every Adobe product on my computer and nothing is working.

    I have seen similar discussions before... transferring does not work, you must install
    Discussions of RE-installing
    -http://forums.adobe.com/thread/1408331?tstart=0
    -http://forums.adobe.com/thread/1398961?tstart=0
    -and http://helpx.adobe.com/creative-cloud/help/install-apps.html
    -using the cleaner after uninstalling and before reinstalling will usually help
    -http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html

  • When restoring an iPhoto library I got an "unexpected error" message and the operation could not be completed. Is my best choice to try again?

    One of my external hard drives died. I had several iPhoto libraries in it. Fortunately, I used Time Machine to backup to a Time Capsule and I can see all the iPhoto library icons in Backups.
    When restoring the first iPhoto library, after three hours, I got an "unexpected error" message and the operation could not be completed. Indeed, the restored library is smaller than the library in Backups. Is my best choice to try again and replace the restored library (which apparently must be missing some photos)? It would mean another 3 hours plus of restoration with fingers crossed...
    Any suggestions? Thank you in advance!

    I am always suspicious of using a different OS to the one that was used to run the backup.. ie if you used Snow L to backup then there is absolutely nothing wrong with using SL to restore.
    Mount the TC sparsebundle and verify it using disk utility.
    A5 here. http://pondini.org/TM/Troubleshooting.html
    You might also like to load the widget in Time Machine so you get whatever the full error message is..
    I cannot find any reference to the error code you are getting..
    My recommendation would be to try it on a different computer.. restore the whole backup to an external drive large enough to accept the whole backup.
    Use the manual methods pondini recommends.
    http://pondini.org/TM/FAQ.html
    Q16 17
    Use ethernet only. Turn off wireless so it does not enter the situation.

  • Using Site Content and Structure unable to move documents,pages and getting weird error message

    Hi ,
    earlier we are moving a page ,document from one site to another sub site with in the Site Collection.
    Now,we are getting a un-readable format error.
    After selecting the destination we are getting the error.
    and the file can't move.
    What might me be the error.
    Expecting answers related to my question.
    1.As we can do using Internet Explorer,
    2. Using Send To also we can move.
    Using this Site Content and structure we can maintain Versoining also.
    If any one face the same issue then we can easily find out the solution.
    Regards ,
    Prathap 
    SP Developer
    Specify the destination to move the items you selected.

    Hi,
    Using Site Content and Structure unable to move documents,pages and getting weird error message
    We are getting Below error:
    When Moving Document items from one site to another site in the same site collection using Site content and structure(But it's working in same site,we can move documents from one library to another library)
    1576|/wEWwwECuLLErw0Cy+nFYwK84baBAgK6zNqsAgLs0Le0BQK1s8uaCAL5qrm3CAKk7K6pDwKo9a0GArm+xr4NApKe9KUKAoajpK4CAqqU/2sChJXBtAIC052rYQKS+LTPAgLe+7uQAwLO0re/BwLgoaw2AojAlIMOApSO4JoNAuvW7MoKAojz2P4OAuOMt9EGAv/ns1wC64qI7gEC0LymmAcCro3lnQkCj7viwAsC8Met9QEC3a/DHALg4ZO6AQKAn8ebCALvr72DAwKm/NGmAgKN4aayCQLmmczsCgL+46qSAQKH7paCDgLouOHjDwKGuNCBCQKwuob2CQKP78n3BwLQ7vSYCALxlcvIBALRuajXAwK6/vr4AwKx8YasCQLti5igAQKay7JZAta625IFAuTy6rUKAvnC7eQKApvB3ugPAoTBua8BAoyajvgMAsGdloEJAvH+2KECAua7k9AGAv3Lzd8HAtPD3ocOAuX7hM4GAqO1g9sIAtn65sgFAuD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This file is already open or in use by another application Error Message

    I can't seem to save my AI files any more without getting an error message stating, "This file is already open or in use by another program." None of the previous forums have helped to resolve this problem. The problem begins when I open an Illustrator file that I have previously created, make a few changes, then try to save it under the same name. I am forced to change the name, which it then saves under the new name. Then, I have to restart the computer in order to delete the old file. This entire process takes enormous amounts of time. Working on WinXP using AI CS. I've researched this problem for months, but can't resolve it myself.

    Jenifer,
    I've been dealing with this problem for a year, and it is a big time waster. Here is a solution someone gave me which resolves the problem. However, there is a tradeoff- one problem for another.
    There is a file named aiicon.dll in Program Files > Common Files > Adobe > Shell. If you rename this file to aiiconold.dll (don't delete it), the problem with saving and deleting files will be resolved. However, the tradeoff is that you will lose your Illustrator thumbnails for your AI files. See for yourself. I've been doing it this way for a month or two, and I can live without the thumbnails most of the time. The nice thing about renaming the aiicon.dll file is that you can go back to the original name anytime, and everything will be as it was in the beginning.
    I guess Illustrator has an incompatibility issue with the new operating systems. I don't think there are any perfect solutions. But I keep looking. I am as frustrated with AI as you are.

  • Can't save my illustrator files. I keep getting "unknown error" message. Using version 6 on a macbook pro. OSX 10.9.5

    Can't save my illustrator files. I keep getting "unknown error" message. Using version 6 on a macbook pro. OSX 10.9.5

    42nato,
    You may try the list (skip 5) in this case).
    The following is a general list of things you may try when the issue is not in a specific file, and when it is not caused by issues with opening a file from external media, see below. You may have tried/done some of them already; 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    If possible/applicable, you should save current artwork first, of course.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to at least 5 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall (ticking the box to delete the preferences), run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • How can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,-

    how can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,…"

    It sounds like if you open Preferences in Word there will be a place where you can specify where to store autorecover files. Right now it sounds like it's pointing to somewhere that doesn't exist.

  • Tying to install itunes and I get error message "This file does not have a program associated with it for performing this action.  Please install a program, or if one is already installed, create an association in the Default Programs control panel.  Help

    am tTying to install itunes and I get error message "This file does not have a program associated with it for performing this action.  Please install a program, or if one is already installed, create an association in the Default Programs control panel. Can anyone help me?

    Hi,
    Here is a similar thread for your reference:
    There is no email program associated to perform the requested action. Please install an email program or, if one is already installed, create an association in the Default programs control panel
    http://social.technet.microsoft.com/Forums/en/w7itproappcompat/thread/036e3cf6-bff7-4ef2-bd0a-555cd2399ad4
    Hope this helps
    Vincent Wang
    TechNet Community Support

  • I just downloaded itunes and get an error message (-3212) when I try to connect to the store.  I have an hp pavillion using Windows 8.1

    i just downloaded iTunes for my Windows 8 laptop and get an error message when i try to connect to the iTunes store (-3212)

    Hello Steve,
    Thank you for the details of the issue you are experiencing with the iTunes Store.  I recommend the following steps for error (-3212):
    "Error 3000" through "3999"
    Alerts with codes in the 3000 range generally mean that iTunes cannot contact the gs.apple.com server on ports 80 or 443. This may be because out-of-date or incorrectly configured security or firewall software is interfering, or due to your Internet proxy settings. If you are using a proxy, try removing the proxy settings, or using a known-good network. If that does not resolve the issue, follow iTunes for Windows: Troubleshooting security software issues.
    Find the full article at the following link:
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/ts3297
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Installed iTunes 64 on Windows 7 (home) HP and received this error message.  The file iTunes Library.itl cannot be read because it was created by a newer version of iTunes.  Please help.

    I installed iTunes 64 on a Windows 7 (Home) HP Pavilion and received this error message.  the file iTunes Library.itl cannot be read because it was created by a newer version of iTunes.  Please help! 

    The file "iTunes Library.itl" cannot be read because it was created by a newer version of iTunes".
    Try the following user tip:
    Empty/corrupt iTunes library after upgrade/crash

  • TS3694 i was trying to back up my iPhone and got an error message and now i can't even access my phone.  on my screen there is an itunes icon with an arrow and a picture of a cord beneath it.  I can't use my phone or access anything on the phone.

    I was trying to back up my phone and got an error message and cannot use my phone at all... There is a picture of an itunes icon and a cord.  I cannot get to my phone or any settings or icons.... HELP. I'm not sure of my operating system or which iphone 4 it is....

    Open current iTunes on your computer. Connect iPhone to the computer with USB Cable. Follow directions or click the Restore button of iTunes.

  • How can we a validate a CSV file in SSIS and log the error details in another CSV File by using Sript Task.

    How can we a  validate a CSV file in SSIS and log the error details in another CSV File by using Sript Task.

    Please see:
    http://www.bidn.com/blogs/DevinKnight/ssis/76/does-file-exist-check-in-ssis
    http://social.msdn.microsoft.com/Forums/en-US/01ce7e4b-5a33-454b-8056-d48341da5eb2/vb-script-to-write-variables-to-text-file

  • Tried to buy Aperture 3 and got an error message Aperture can't be installed on "Macintosh HD" because Mac OS X version 10.7.2 or later is required. You can update Mac OS X using Software Update.  Problem is, I had already updated my IMac to Lion OS

    Tried to buy Aperture 3 and got an error message Aperture can’t be installed on “Macintosh HD” because Mac OS X version 10.7.2 or later is required. You can update Mac OS X using Software Update.  Problem is, I had already updated my IMac to Lion OS

    iPhoto 9.3 requires OS X 10.7.4 now. You can use your actual version of iPhoto or upgrade to Lion (or wait to Mountain Lion)

Maybe you are looking for

  • CM21/cm25 sorting of user defined field in table area

    Hallo, I implemeted the field MARC-MATGR in the table area of the CM21 with user exit CYPP0005 and now I'm trying to use the user exit CYPP0002 for sorting in order of this field like explained in oss note 605217. I implemented the coding like shown

  • Report with EAN/UPC by article/vendor

    We are looking for a report of EAN/UPC numbers by article.  We would like to be able to select by Article, Vendor and/or Merchandise Category.  If there are multiple EAN/UPCs by vendor, each should be listed with it's category. Although I could write

  • Simple Update Kicking my behind

    I am trying to get an update query to work. I keep getting errors and I am probably doing something stupid. I just cant see it. I keep getting errors that say: Syntax error (missing operator) in query expression This error appears to come from me try

  • Different approaches

    I have a simple form where there is a drop down list that needs to be displayed getting the values from the back end. I would write a simple query in java file,check if session is new then call method in jsp page. Is there any better approach than th

  • Low battery life on new 4th generation nano?

    I got a 16 gb 4th gen nano yesterday. When I first turned it on, I was pleased to see that the battery was almost completely full. I took it to work, and listened to it for about an hour total, coupled with playing games on it, the charge level had d