Sandboxd prevents preview from opening images

The sanboxd is preventing me from opening some, but not all, images with preview.
The system.log shows:
Dec 16 23:36:17 computer_name Preview[7570]: PVImageContainer initWithURL:file://localhost/Users/username/Library/Containers/com.apple.Previe w/Data/file.jpg failed, error = Error Domain=NSCocoaErrorDomain Code=257 "The file âfile.jpgât be opened because you donât have permission to view it." UserInfo=0x104ef6960 {NSFilePath=/Users/username/Library/Containers/com.apple.Preview/Data/file.jpg, NSUnderlyingError=0x104e71ec0 "The operation couldnât be completed. Operation not permitted"}
Dec 16 23:36:17 computer_name sandboxd[10125] ([7570]): Preview(7570) deny file-issue-extension /Users/username/file.jpg
Dec 16 23:36:17 computer_name Preview[7570]: Bookmark failed to issue extension for item /Users/username/Library/Containers/com.apple.Preview/Data/file.jpg (depth=1): Operation not permitted
I have recently migrated from a macbook with 10.6 to a macbook air with 10.7. I used migration assistant via wifi.
The problem arises both on newly downloaded images as well as images that were transferred via migration assistant.
The file permission is 755, and File->View permissions looks perfectly fine.
Any idea what is causing this and how to I prevent this from happening again?

Hi Linc,
thank you for the suggestion, but unfortunately it did not help. For the top directory, and all subsequent directories, I have read&write (755) permissions, as well as for the files that i can not open.
This appears to happen randomly. Some directories are affected, some are not, and it appears to happen to all files in certain directories.
Interestingly, if I control-click and select e.g. Explorer, I can view the image. Also, if I copy the file to my Desktop, I can also view the image. So it only happens to Preview in certain directories.

Similar Messages

  • I have installed mountaion lion and I am getting an error 150:30 that prevents me from opening my photoshop cs4 extended. Does anyone know how to fix this?

    I have installed mountaion lion and I am getting an error 150:30 that prevents me from opening my photoshop cs4 extended. Does anyone know how to fix this?
    Thanks

    It's a "licensing error" see this for what steps to take: Error "Licensing has stopped working"  | Mac OS

  • Outlook Integration add in prevents outlook from opening

    Hi All,
    When the outlook integration executable (BO_SyncExt.exe) is running it prevents outlook from opening. Outlook just sits there saying loading user profile all the time. When the process is killed via task manager outlook opens. The issue seems to be intermittent, we've tried the usual uninstalling, re-installing, rebuilding the machine etc. it didn't work.
    The problem doesn't happen on machines using office 2003 or 2007, only on Office 2010 (32 bit).
    SAP version 8.8 PL20.
    Any ideas what this might be?
    Many Thanks,
    Matt

    Hi Jimmy,
    it is 32-bit MS Office, I have had this issue both on 8.82 PL05 (Windows 7 32-bit) and PL07 (Win2008 R2 server 64-bit).
    The Outlook Integration log shows some strange entries without error description:
    2012-07-23 15:24:30  E  CBO_AddIn::OnConnection  ERROR: **************************************************************************
    2012-07-23 16:36:01  E  CBO_AddIn::OnConnection  ERROR: **************************************************************************
    2012-07-23 16:38:33  E  CBO_GUIControl::ReleaseGUIControl  ERROR: Exception in closing the Outlook...
    2012-07-23 16:39:13  E  CBO_AddIn::OnDisconnection  ERROR: ############################################################################
    2012-07-23 18:23:27  E  CBO_AddIn::OnConnection  ERROR: **************************************************************************
    After this error (Exception in closing the Outlook...) I assume that the Outlook.exe hangs, therefore when opening Excel, I get an error message like 'Failed to open log file', so probably the hung Outlook.exe locks the log file. Of course opening Outlook isn't possible in that status.
    After closing the process Outlook.exe, I can start Outlook again and Excel doesn't throw any error message. Nevertheless I tried also to run BO_SyncExt.exe in compatibility mode, I will observe this issue now.
    Thanks
    Sebastian

  • How do I prevent Mail from opening when I click an email address in Safari?

    My wife and I both use Yahoo! Mail. Neither of us uses the Mail app to manage our email. How do I prevent Mail from opening when we click an email address in Safari?  Is it possible to direct Safari to open a separate web browser prompting us to log in to our Yahoo! Mail?

    Hmm.. probably not.
    You want to open Mail. Then go into Preferences > General and you will see something similar to this:
    In the area marked Default Mail reader click on the pull down and at the bottom of the list it will say Other. You can see if you can select Safari here and if that will open up Safari.
    Good luck.

  • How do I prevent iTunes from opening when I pug in my iPod?

    How do i prevent tunes from opening when i plug in my ipod?

    This will occur when there are photos and/or videos in the Camera Roll, which should be imported by your computer as with any other digital camera.
    Depending on the iPhoto version you are running, this can be done via iPhoto preferences > connected camera opens > select no application.

  • HT2054 Stop Preview from opening my photo's and attachments

    How do I stop preview from opening all my photo's and attachments?

    You can control click on a Photo and set it to "Open With" something else....., but ideally you should really Import them all into iPhoto for safe keeping and remove them from your desktop.

  • How can i stop preview from opening firefox?

    How can i stop preview from opening firefox? I'm on a late 2007 macbook pro running Mountain lion. I would rather have it open Safari when I click on a link within a pdf not firefox. Help?

    Thanks Kappy! Tho I feel a bit silly that it was that easy.

  • Something called "television fanatic plugin" which seems to have come with the Safari upgrade is preventing me from opening Safari.  Help

    Something called "television fanatic plugin" which seems to have come with the upgrade to Safari 5.1 is preventing me from opening Safari.  I cannot find it on my computer.  What do I have to do to eliminate it and be able to open Safari?

    If the software doesn't have an uninstall feature, quit Safari and try manually removing the third-party add-on files. These files are usually installed in one or more of the following locations:
    /Library/Internet Plug-Ins/
    /Library/Input Methods/
    /Library/InputManagers/
    /Library/ScriptingAdditions
    ~/Library/Internet Plug-Ins/
    ~/Library/Input Methods/
    ~/Library/InputManagers/
    ~/Library/ScriptingAdditions
    The first four locations listed are in the root-level Library on your hard disk, not the user-level Library in your Home folder.The tilde (~) represents your Home folder.
    To find the Home folder in OS X Lion, open the Finder, hold the Option key, and choose Go > Library.

  • HT2506 I want to disable the sidebar in Preview from opening every time I open a PDF. How?

    I want to prevent "Preview" PDF viewer from opening the PDF's with sidebar. Trying to disable the sidebar, can't find anything that allows it to be disabled. I know how to disable the sidebar after the fact, but I find it annoying because it takes up space and is useless and I am constantly having to hide it. Can I just disable it from the preferences, that way when my PDF opens the sidebar is not there? Looked but couldn't find anything.

    wonges88 wrote:
    I think that this is an issue with how the author of the PDF saves and collates the file. I wish in the preferences there was simply a "turn off sidebar," but I have yet to find it. 
    Yes.  I think so too.
    All my PDFs open in Preview without the sidebar.
    Matt

  • How can i prevent iphoto from opening when i plug in my iphone to the computer?

    Hi There,
    I have  a question, when I connect my iPhone to the computer the iPhoto automatically opens.
    how can i prevent this from happening? it always slows down my computer.
    any help will be appreciated.
    thanks

    Image Capture (in your Applications Folder) - In the preferences you can decide to 'Do Nothing' when a camera is connected.
    Some versions also have this option in the iPhoto Preferences.
    Regards
    TD

  • How can I stop Preview from opening at startup even though it is not listed in my Login Items?

    When I log into one of my user accounts in my MacBook Pro (Mountain Lion), Preview is always open. The preview window itself is not open but the application name is active in the menu bar in the top left hand corner. The Preview item on the taskbar is also lit. Both of these indicate to me that Preview is running. However, I checked my Login Items repeatedly and Preview is not even listed. I also make sure that when logging out, the "Reopen windows when logging out" is unchecked. But Preview still always opens whenever I log into this particular user account -- it does not do it in any of my other user accounts. How can I fix this?

    Thanks. I got to the bottom of it by checking Login Items. I had Flux, iTunes Helper, and Dropbox. I removed the first two from Login Items, leaving only Dropbox. However, when I rebooted and logged in, Preview was still open and Flux and iTunes Helper were back in the Login Items. To find out which application is the culprit, I looked under Flux's Preferences settings and disabled it from opening at login. I was intending to do it for every application until I find the culprit, but doing so to Flux solved the problem.

  • Something is preventing me from opening attachements or using bottom of the screen in emails

    Can someone please help? For some reason there seems to be a small black triangle, like a tab set, on my screen preventing me from being able to use the bottom of my screen to scroll or open attachments. I can use the screen to scroll for all other apps but when I open my e-mail I can only use the upper portion of my screen to scroll and the bottom portion is locked out right where the triangle tab starts. Does anyone know why and how I can remove this?

    I apologize for this reply being so late.  Your idea was great but I am already operating at the largest dimensions.  The problem got temporarily solved when I installed the latest OS update but it has now returned.  As well, the follow-up from Apple gave me the option of marking your suggestion as "correct answer" or "helpful answer" and I'm sorry but I can't say either.  I have no idea what to try next -  other than to wait for another update to OS X 10.

  • Prevent PDFs from opening in browser?

    Is it possible to prevent a PDF (that I create) from opening in a user's browser?
    I am exporting an InDesign file with hyperlinks. There does not seem to be a way within InDesign to specify that hyperlinks open in a new window. If the user's browser opens the PDF, then when they click the links they will populate the same window that the PDF occupied. I know there is a way in Acrobat to code buttons that will open in a new window, but this means re-coding dozens of these ocurrences within a 20-page PDF every time I make a change to the InDesign file.
    If the PDF opens in Acrobat Reader, then this problem is solved.
    But is this something that can be controlled on my end? I tried setting the export presets in InDesign to un-check Optimize for Fast Web View but that didn't work.
    Any ideas are appreciated!

    That is a user setting that can't be controlled.

  • Prevent user from opening an applescript file

    Greetings,
         I have written an Applescript for use by the User to change file permissions on folders or files they get from clients from outside our company.  The permissions of these files denies the User from opening the files and work with them  The script I wrote will change those permissions to Read/Write but also contains Administrator information with regards to Admin Name and Password.   The script runs just fine.
         Where my problem arises is I cannot find a way to prevent a User from using the Applescript application on their workstation to open my script and view the Admin name and Password.  What I need to happen is to have the script run when the User places a file on the icon, but not allow a User to open the script to see the coding.  I'm really new to Applescript and I figure i am missing something.  Thanks in advance for any advice.

    Are these items downloaded into the same folder in each user account?
    That part is reliably the same or are users involved choosing the save location?
    Frankly I'd scrap Applescript - it is a pain for anything involving admin privs & normal users.
    Option 1…
    Stick a task into roots crontab to chmod/ chown that location every 5 minutes or so!
    If you want to be smart about it check if the perms are in a mess before you fix them. A shell script can do this. Obviously you need to check the path to give the correct user the ownership etc.
    Option 2…
    Set a launchd job to watch a specific folder & run a command when items are added - like folder actions without the crappy Applescript part
    https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/ man5/launchd.plist.5.html#//apple_ref/do…
    It would need to be a system level job since the user doesn't seem to have enough permission.
    If you need to use an application to allow the user to have control an Applescript droplet could move the items to the watched folder, where the launchd job resets the perms. Then the items could be moved elsewhere via the script that runs from the watch job.
    It all seems kinda kludgy, but sometimes that is how OS X is!
    Perhaps this is outlandish & impractical but so is manually fixing stuff like this every time someone calls
    Any thoughts?

  • Corrupt audio file prevents me from opening Logic project file

    Hello,
    I've been running Logic 8 for a couple years off my MacBook and have never encountered any significant problems of file corruption until recently.
    The issue I encountered is this:
    I've been producing a lengthy track in an on-going Logic project file for some time and after completing a recording session I saved and started deleting excess track copies to clean up my arrange window. Upon doing so Logic unexpectedly crashed.
    After attempting to reopen the project file, it started its normal process of loading its respective audio files, but now it hangs on one particular audio file indefinitely (I'll refer to it as 'audio file x' for ease of reference), freezing and crashing Logic as a result. All of this project file's auto backup files are also incapable of being opened without giving me the same result and crashing Logic.
    I have no way of opening this project file and getting at my most recent saved sequence!
    I've tried removing this corrupt 'audio file x' from the project's audio folder and dragging it to the desktop, but this had no effect and I still can't open any recent version of the project file.
    Older saved copies of the current project file do still open though (most likely because they were saved prior to the corruption caused by this suspect 'audio file x.') When opening an earlier iteration of the project, I get a message '1 invalid audio region found' (I assume referring to the corrupt suspect 'audio file x' that I removed to the desktop) but the project file is still able to open.
    I realize I could import the audio files from the most recent version of the crashed file to an older project version and reconstruct things back to the way they were, but it would take me a lot of time and I'm hoping there may be some way to recover the un-openable project file by getting it to stop looking for this corrupted 'audio file x' on startup.
    When I click 'show package contents' of the Logic Project file, I notice two items labeled 'displayState' and 'documentData.' From my troubleshooting I've come to the basic understanding that the 'documentData' file contains all the sequence data and settings for its respective Logic Project file.
    I think the 'document data' of the unopenable project file in question may be corrupt because whenever I replace it with the 'document data' from an earlier Project file version, the file is able to open. This doesn't do me much good though, because it's document data from an earlier iteration of the project and I need to be able to get at the current sequence I had right before my file crashed.
    Is there anyway to open a project file without letting it load its audio files? Or is there anyway I could get inside the 'document data' file to delete the reference/pathway in its audio bin to the corrupt 'audio file x' its hanging on?
    Any insights would be greatly appreciated. I'm hoping there's some way I won't have to repeat a couple days worth of work. Thanks for your help!

    stooby3535 wrote:
    After further troubleshooting I've realized that the suspicious audio file that prevents the project file from opening is actually not corrupted itself. I can still play the audio file in other media software like Quicktime, etc. with no problem.
    This leads me to believe the problem opening the project file lies solely with the corrupted 'documentData' file.
    Does anyone have any ideas about how I could somehow open this project file and delete the reference of the troublesome audio file from the project's audio bin?
    Well... it really sounds like the project itself is corrupted, that's one of the reasons all project files won't load from a certain point on.
    Try this.
    Reboot the Mac.
    Open the Applications folder and boot Logic from it's icon.
    As soon as the Logic Logo/graphic window appears on the screen hold down the control key. You will see a message pop up that says something like "Launch the Core Audio Driver" there will be yes/no choice available... select NO.
    Go to the File menu and selct "open" go find your project file and see if it will open. If it does.. delete the audio file in question... however.. I would also look at any plugins you recently installed and are possibly using in this project...this sounds more like a plugin problem rather than an audio file problem, but that's just a gut feeling.
    Anyway, if it opens delete whatever you suspect and save under a different name.
    Reboot Logic and see if it can load the project.
    pancenter-

Maybe you are looking for

  • HELP..  new to the Mac.  How on earth do i do my homework.. How do i write essays?

    how do i create a document.  Write an essay?

  • Error when executing a query in ECC

    W'e're getting the following error when attempting to run a Crystal Report (2008) that uses an SAP ECC query as the datasource: Database Connector Error: "Screen output without connection to user" Anyone seen this before? Tried looking this up in the

  • Urgent: how to print the contents displayed in JTextPane

    hi all, i've a problem printing the contents typed in styled format in JTextPane, when i print the contents nothing is printed. can anyone tell how can i print the contents typed in styled format or so. the code for implementing the print is given be

  • New entry for a view in SM30 does not save

    Hi all, I created a new entry for a view in SM30. Then when I tried to SAVE it, it does not SAVE and comes back to the same screen with the new entry. And it continues, until you CANCEL and come out. Please let me know the reason for it. Thanks and r

  • C++ samples from the SMP

    Hi all, I have downloaded the c++ examples from the SMP.  I have compiled it successfully but when I go to run in debug I get the following output. Loaded 'C:\WINNT\system32\ntdll.dll', no matching symbolic information found. Loaded symbols for 'C:\W