Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

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

El Capitan 10.11.1 - Preview can't save files

Hi,


I'm having this issue, I can't save (or duplicate) any file opened with Preview, this is the error message :


User uploaded file


the meaning is something like: "Preview Document not saved.pdf" can't be moved because you don't have necessary privileges to access to "Autosave information".


I think the problem is that the temporary folder, for some reason, has wrong privileges, but I don't know where this folder is, so I can't change the settings.


Can you help me?

iMac, OS X El Capitan (10.11.1), null

Posted on Nov 20, 2015 5:31 AM

Reply
17 replies

Nov 20, 2015 6:57 AM in response to ApteryxMAC

Please back up all data before proceeding.

This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.

Step 1

If you have more than one user, and the one in question is not an administrator, then go to Step 2.

Triple-click anywhere in the following line on this page to select it:

sudo find ~ $TMPDIR.. -exec chflags -h nosappnd,noschg,nosunlnk,nouappnd,nouchg,nouunlnk {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-

Copy the selected text to the Clipboard by pressing the key combination command-C.

Launch the built-in Terminal 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 and start typing the name.

Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.

You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.

The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.

Step 2 (optional)

Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.

Start up in Recovery mode. When the OS X Utilities screen appears, select

Utilities Terminal

from the menu bar. A Terminal window will open. In that window, type this:

resetp

Press the tab key. The partial command you typed will automatically be completed to this:

resetpassword

Press return. A Reset Password window will open. You’re not going to reset a password.

Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.

Select your username from the menu labeled Select the user account if not already selected.

Under Reset Home Directory Permissions and ACLs, click the Reset button.

Select

Restart

from the menu bar.

Nov 20, 2015 1:14 PM in response to ApteryxMAC

For information about document versioning, see this support article. The database that stores past versions of your documents has become corrupt.

Please back up all data before making any changes.

All past document versions will be cleared. Current versions won't be affected.

Quit all open applications except the web browser.

Triple-click anywhere in the line below on this page to select it:

/.DocumentRevisions-V100

Right-click or control-click the highlighted line and select

Services Open

from the contextual menu. A Finder window should open with an item named ".DocumentRevisions-V100" selected. Move the selected item to the Trash. You may be prompted for your administrator login password. Restart the computer and empty the Trash.

Nov 20, 2015 6:12 PM in response to ApteryxMAC

This procedure is a diagnostic test. It makes no changes to your data.

Please triple-click anywhere in the line below on this page to select it:

ls -@AOen L*/Autos* | pbcopy

Copy the selected text to the Clipboard by pressing the key combination command-C.

Launch the built-in Terminal 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 and start typing the name.

Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.

Wait for a new line ending in a dollar sign ($) to appear below what you entered.

The output of the command will be automatically copied to the Clipboard. If the command produced no output, the Clipboard will be empty. Paste into a reply to this message.

The Terminal window doesn't show the output. Please don't copy anything from there.

Nov 23, 2015 3:37 PM in response to Linc Davis

total 16

-rw-r--r--@ 1 502 20 - 6148 18 Ott 20:27 .DS_Store

com.apple.FinderInfo 32

-rw-r--r-- 1 502 20 - 0 15 Ott 21:50 .localized

drwxr-xr-x 5 502 20 - 170 15 Ott 21:50 Accounts

drwxr-xr-x 5 502 20 - 170 18 Ott 19:55 Application Scripts

drwxr-xr-x 23 502 20 - 782 21 Nov 08:01 Application Support

drwxr-xr-x 2 502 20 - 68 15 Ott 21:50 Assistants

drwxr-xr-x 5 502 20 - 170 15 Ott 21:50 Audio

drwxr-xr-x 71 502 20 - 2414 24 Nov 00:33 Caches

drwxr-xr-x 15 502 20 - 510 18 Ott 09:04 Calendars

drwxr-xr-x 2 502 20 - 68 15 Ott 21:50 ColorPickers

drwxr-xr-x 3 502 20 - 102 16 Ott 00:22 ColorSync

drwxr-xr-x 2 502 20 - 68 15 Ott 21:50 Colors

drwxr-xr-x 3 502 20 - 102 15 Ott 21:50 Compositions

drwxr-xr-x 69 502 20 - 2346 20 Nov 23:37 Containers

drwxr-xr-x 16 502 20 - 544 24 Nov 00:34 Cookies

drwxr-xr-x 3 502 20 - 102 15 Ott 21:50 CoreData

drwxr-xr-x 3 502 20 - 102 3 Nov 15:56 CoreFollowUp

drwxr-xr-x 3 502 20 - 102 15 Ott 21:53 Dictionaries

drwxr-xr-x 3 502 20 - 102 15 Ott 21:50 Favorites

drwxr-xr-x 8 502 20 - 272 15 Ott 21:50 FontCollections

drwxr-xr-x 2 502 20 - 68 15 Ott 21:50 Fonts

drwxr-xr-x 2 502 20 - 68 18 Ott 00:08 GameKit

drwxr-xr-x 10 502 20 - 340 17 Ott 18:07 Group Containers

drwxr-xr-x 6 502 20 - 204 24 Nov 00:32 IdentityServices

drwxr-xr-x 3 502 20 - 102 15 Ott 21:50 Input Methods

drwxr-xr-x 2 502 20 - 68 15 Ott 21:50 Internet Plug-Ins

drwxr-xr-x 2 502 20 - 68 15 Ott 21:50 Keyboard Layouts

drwxr-xr-x 7 502 20 - 238 24 Nov 00:34 Keychains

drwxr-xr-x 10 502 20 - 340 22 Nov 13:54 LanguageModeling

drwxr-xr-x 3 502 20 - 102 17 Ott 19:20 LaunchAgents

drwxr-xr-x 32 502 20 - 1088 24 Nov 00:32 Logs

drwxr-xr-x 3 502 20 - 102 15 Ott 21:54 Mail

drwxr-xr-x 7 502 20 - 238 16 Ott 23:20 Messages

drwxr-xr-x 3 502 20 - 102 15 Ott 23:13 Metadata

drwxr-xr-x 3 502 20 - 102 18 Ott 20:21 Mozilla

drwxr-xr-x 2 502 20 - 68 22 Nov 13:52 PhotoshopCrashes

drwxr-xr-x 2 502 20 - 68 15 Ott 21:50 PreferencePanes

drwxr-xr-x 165 502 20 - 5610 24 Nov 00:34 Preferences

drwxr-xr-x 3 502 20 - 102 20 Ott 10:44 Printers

drwxr-xr-x 5 502 20 - 170 15 Ott 21:59 PubSub

drwxr-xr-x 25 502 20 - 850 24 Nov 00:34 Safari

drwxr-xr-x 13 502 20 - 442 24 Nov 00:34 Saved Application State

drwxr-xr-x 2 502 20 - 68 15 Ott 21:50 Screen Savers

drwxr-xr-x 2 502 20 - 68 15 Ott 21:50 Services

drwxr-xr-x 2 502 20 - 68 15 Ott 21:50 Sounds

drwxr-xr-x 4 502 20 - 136 22 Nov 14:55 Spelling

drwxr-xr-x 13 502 20 - 442 20 Nov 14:59 Suggestions

drwxr-xr-x 14 502 20 - 476 24 Nov 00:34 SyncedPreferences

drwxr-xr-x 6 502 20 - 204 18 Ott 20:27 Thunderbird

drwxr-xr-x 2 502 20 - 68 15 Ott 21:50 Voices

drwxr-xr-x 9 502 20 - 306 15 Ott 23:02 WebKit

drwxr-xr-x@ 3 502 20 - 102 24 Nov 00:33 com.apple.nsurlsessiond

com.apple.quarantine 15

drwxr-xr-x 4 502 20 - 136 15 Ott 21:50 iMovie

drwxr-xr-x 5 502 20 - 170 17 Ott 19:20 iTunes


Voila

Just to know, what's that?

Nov 23, 2015 5:02 PM in response to ApteryxMAC

Please back up all data. Quit Preview if it's running.

Hold down the option key and select Go Library from the Finder menu bar. From the Library folder, delete the following items, if they exist:

Containers/com.apple.Preview

Containers/com.apple.quicklook.ui.helper

Group Containers/com.apple.Preview

Preferences/com.apple.Preview.LSSharedFileList.plist

Preferences/com.apple.Preview.SandboxedPersistentURLs.LSSharedFileList.plist

Saved Application State/com.apple.Preview.savedState

Log out and log back in. Launch the application and test.

Nov 25, 2015 2:05 AM in response to Linc Davis

OK


now the situation is compromised 🙂


Linc Davis wrote:


Please back up all data. Quit Preview if it's running.

Hold down the option key and select Go Library from the Finder menu bar. From the Library folder, delete the following items, if they exist:

Containers/com.apple.Preview OK DELETED

Containers/com.apple.quicklook.ui.helper OK DELETED

Group Containers/com.apple.Preview DIDN'T EXIST

Preferences/com.apple.Preview.LSSharedFileList.plist DIDN'T EXIST

Preferences/com.apple.Preview.SandboxedPersistentURLs.LSSharedFileList.plist DIDN'T EXIST

Saved Application State/com.apple.Preview.savedState DIDN'T EXIST

Log out and log back in. Launch the application and test.


When i try to duplicate a PDF the error is: "Impossible to save the file"

When I try to export as PDF the error is: "printing error"

Nov 26, 2015 6:58 AM in response to ApteryxMAC

Please read this whole message before doing anything.

This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.

Step 1

The purpose of this step is to determine whether the problem is localized to your user account.

Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”

While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.

Test while logged in as Guest. Same problem?

After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.

*Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

Step 2

The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.

Please take this step regardless of the results of Step 1.

Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem.

Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.

Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.

The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.

Test while in safe mode. Same problem?

After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

El Capitan 10.11.1 - Preview can't save files

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