Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Safari Downloads 100% but receive "cannot write file" error.

Been having a weird problem in Safari 7.0.1 in that some downloads will download just fine, but other larger downloads will fully download (at least as far as I can tell looking at file size) but Safari download window will throw up a "cannot write file" error. In the downloads folder the little download progress indicator seems to be full, the file size is large, but it still appears as that temporary safari download filetype.


Try the same file in Chrome and there's no issues whatsoever. Try the same file multiple times in Safari and get the same results. One culprit that seems to be throwing up these files consistantly are ones that I'm downloading through the dropbox web interface.


Anyone have any ideas what might be going on here?

MacBook Pro (Retina, 15-inch, Late 2013), OS X Mavericks (10.9.1), 2.6 GHz Core i7, 16GB Ram, 1TB SSD

Posted on Jan 23, 2014 12:17 PM

Reply
Question marked as Best reply

Posted on Jan 23, 2014 7:16 PM

Launch the Console application in any of the following ways:


☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)


☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.


☞ Open LaunchPad. Click Utilities, then Console in the icon grid.


Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select

View Show Log List

from the menu bar.


Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).

When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.

Please do not indiscriminately dump thousands of lines from the log into this discussion.

Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

2 replies
Question marked as Best reply

Jan 23, 2014 7:16 PM in response to ehmjay

Launch the Console application in any of the following ways:


☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)


☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.


☞ Open LaunchPad. Click Utilities, then Console in the icon grid.


Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select

View Show Log List

from the menu bar.


Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).

When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.

Please do not indiscriminately dump thousands of lines from the log into this discussion.

Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

Jul 28, 2014 6:16 PM in response to Linc Davis

I also have this problem when downloading a .dmg file in Safari, and I found the relevant log in Console. It seems that the sandbox blocked the saving process.

------------------------

com.apple.WebKit(396) deny file-write* /.MobileBackups/Computer/2014-07-29-090343/Volume/Users/userName/Downloads/gimp -2.8.10-dmg-1.dmg.download/gimp-2.8.10-dmg-1.dmg


Process: com.apple.WebKit [396]

Path: /System/Library/PrivateFrameworks/WebKit2.framework/Versions/A/XPCServices/com. apple.WebKit.Networking.xpc/Contents/MacOS/com.apple.WebKit.Networking

Load Address: 0x10e44b000

Identifier: com.apple.WebKit.Networking

Version: 9537.77.4 (9537)

Build Info: 4-WebKit2~7537077004000000

Code Type: x86_64 (Native)

Parent Process: launchd [1]


Date/Time: 2014-07-29 09:04:20.457 +0800

OS Version: Mac OS X 10.9.4 (13E28)

Report Version: 8


Thread 0:

0 libsystem_kernel.dylib 0x00007fff8cf1faca __setattrlist + 10

1 CoreServicesInternal 0x00007fff8e90f7cb _FSURLSetResourcePropertiesForKeys + 862

2 CoreFoundation 0x00007fff8aab2a42 CFURLSetResourcePropertiesForKeys + 114

3 CFNetwork 0x00007fff8de0d54c URLDownload::_internal_setFileAttributes() + 522

4 CFNetwork 0x00007fff8de0cdce URLDownload::_connection_didFinishLoading() + 172

5 CFNetwork 0x00007fff8de0f08a DownloadConnectionClient::_connectionDidFinishLoadingCallback(_CFURLConnection* , void const*) + 30

6 CFNetwork 0x00007fff8dd84284 ___ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointer FvvE_block_invoke + 104

7 CFNetwork 0x00007fff8de3a820 ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16 _CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 84

8 CFNetwork 0x00007fff8dd5fcf1 ___ZNK17CoreSchedulingSet13_performAsyncEPKcU13block_pointerFvvE_block_invoke93 + 30

9 libdispatch.dylib 0x00007fff8c7521bb _dispatch_call_block_and_release + 12

10 libdispatch.dylib 0x00007fff8c74f28d _dispatch_client_callout + 8

11 libdispatch.dylib 0x00007fff8c751673 _dispatch_queue_drain + 451

12 libdispatch.dylib 0x00007fff8c7529c1 _dispatch_queue_invoke + 110

13 libdispatch.dylib 0x00007fff8c750f87 _dispatch_root_queue_drain + 75

14 libdispatch.dylib 0x00007fff8c752177 _dispatch_worker_thread2 + 40

15 libsystem_pthread.dylib 0x00007fff8b499ef8 _pthread_wqthread + 314

16 libsystem_pthread.dylib 0x00007fff8b49cfb9 start_wqthread + 13


Binary Images:

0x7fff8a9d4000 - 0x7fff8abb9fff com.apple.CoreFoundation (6.9 - 855.17) <729bd6da-1f63-3e72-a148-26f21ebf52bb> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

0x7fff8b497000 - 0x7fff8b49eff7 libsystem_pthread.dylib (53.1.4) <ab498556-b555-310e-9041-f67ec9e00e2c> /usr/lib/system/libsystem_pthread.dylib

0x7fff8c74e000 - 0x7fff8c768fff libdispatch.dylib (339.92.1) <c4e4a18d-3c3b-3c9c-8709-a4270d998de7> /usr/lib/system/libdispatch.dylib

0x7fff8cf0a000 - 0x7fff8cf26ff7 libsystem_kernel.dylib (2422.110.17) <873931ce-d1af-3596-aadb-d2e63c9ab29f> /usr/lib/system/libsystem_kernel.dylib

0x7fff8dd40000 - 0x7fff8deb0ff4 com.apple.CFNetwork (673.4 - 673.4) <f3bf6020-99be-3844-a7b8-352b93ad02f3> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork

0x7fff8e8fd000 - 0x7fff8e929fff com.apple.CoreServicesInternal (184.9 - 184.9) <4dea54f9-81d6-3edb-aa3c-1f9c497b3379> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/Cor eServicesInternal

Safari Downloads 100% but receive "cannot write file" error.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.