Save for Web and Devices fails for non-admin users on MacOS X

  • 1
  • Problem
  • Updated 7 years ago
I am using Photoshop CS5.1 on MacOS X Snow Leopard and seem to be hitting a bug with "Save for Web and Devices". When run as a user without admin privileges (on MacOS at least), "Save for Web and Devices" fails to start - instead a popup says: "a write permissions error has occurred".

The error still occurs after a system reboot. However, the command *does* work if run as a user with admin rights. There therefore seem to be two bugs here:

1. It looks like the "Save for Web and Devices" command only works for admin users. Please fix it to work for non-admin users as well. In general, all parts of Photoshop should be usable (and tested) as non-admin users since running as a non-admin user is more secure.

2. Personally, this case also exposes a pet peeve of mine which is that the error message is very unhelpful for anyone trying to work out the reason behind the error. Please, instead, list the file or directory name that could not be opened in cases like this so that interested users can try to work out the cause of the error. Either directly in the original popup or via a "click for more info" link. In practice in this case I suspect it may be trying to open a file under /Library, but there is no way to be sure.
Photo of Hugh McIntyre

Hugh McIntyre

  • 2 Posts
  • 0 Reply Likes

Posted 7 years ago

  • 1
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 818 Reply Likes
Sounds like you may have a permissions problem on your system.
Possibly at the root level directory, or on your permissions directory.
Photo of Hugh McIntyre

Hugh McIntyre

  • 2 Posts
  • 0 Reply Likes
Perhaps, but this is my issue #2. If the error message said "Write error: cannot open file /path/to/whatever" then I could go look at that file or directory and see if the permissions seem wrong. But the current error message amounts to "write error, but Photoshop is not going to tell you which file" :(

PS: "repair disk permissions" does not seem to have fixed the problem, which again means that it's hard to work out why I'm hitting the error.

As it happens, I just dug out a script called "opensnoop" from http://www.brendangregg.com/dtrace.ht... which traces all file opens for a process, and shows the error is for a file called "/.vol/234881034/31246316/Recently Used Optimizations.irs". I have no idea where this file comes from since it seems to be created dynamically. In fact, nothing under /.vol seems to be visible from a command line at all:

STRTIME UID PID COMM FD ERR PATH

2012 Jan 29 23:23:20 31156 2841 Adobe Photoshop 26 0 /.vol/234881034/31811777/Save for Web.rsrc
2012 Jan 29 23:23:20 31156 2841 Adobe Photoshop 27 0 /Applications/Adobe Photoshop CS5.1/Plug-Ins/Import-Export/Save for Web.plugin/Contents/MacOS/Save for Web
2012 Jan 29 23:23:20 31156 2841 Adobe Photoshop 27 0 /Applications/Adobe Photoshop CS5.1/Plug-Ins/Import-Export/Save for Web.plugin/Contents/MacOS/Save for Web
2012 Jan 29 23:23:20 31156 2841 Adobe Photoshop 27 0 /.vol/234881034/446997/Adobe Save for Web 12.0 Prefs
2012 Jan 29 23:23:20 31156 2841 Adobe Photoshop -1 13 /.vol/234881034/31246316/Recently Used Optimizations.irs
2012 Jan 29 23:23:20 31156 2841 Adobe Photoshop -1 2 /System/Library/Displays/Overrides/DisplayVendorID-38a3/DisplayProductID-66ce

Error 13 is the "permission denied" case; error 2 means "no such file or directory".
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 818 Reply Likes
Yes, better error messages would be nice.

So you don't have permission to write to your own temp folders or preferences - that's not good. Something is off with your account setup or disk permissions, because you should always have read/write permission to the temp folders and preferences.

Also, this is not a problem for other people, except where permissions are messed up. Did you, by chance, migrate this user account from another system or partition?