Posted on 04-01-2014 12:14 PM
I've been having an issue with InDesign in a lab where the students use a network home directory(AFP). Occasionally, InDesign crashes when a student tries to open it. It seems to think that the preference files are in use somewhere even tho they are not. The solution to this is to navigate to ~/Library/Preferences/Adobe InDesign/Version 9.0/en_US/ and trash the file 'InDesign Defaults'. And this works but I want to create a Self Service policy that will delete this file for the user. But trying to rm /Network/server/user/path/to/InDesign Defaults as root gives a 'rm: InDesign Defaults: Resource busy' error.
Any idea how i might be able to do this using a script? Maybe an Applescript run as the user?
Solved! Go to Solution.
Posted on 04-01-2014 01:59 PM
You could also try moving or renaming the entire "Adobe InDesign" folder and then delete the moved or renamed folder at login or the next time you run the command.
Could also try clearing their Adobe cache at login or include it in the command as well.
Posted on 04-01-2014 01:40 PM
Have you tried rm -f? Or maybe try having the user logout and back in and then run the command.
Posted on 04-01-2014 01:44 PM
Yes. I've tried rm -f. I haven't tried having them logout and then run the command. It's difficult to test because i can't replicate the problem exactly how it happens to them. I can only open a file on one computer and then open the same file on another computer with my test network account.
Posted on 04-01-2014 01:59 PM
You could also try moving or renaming the entire "Adobe InDesign" folder and then delete the moved or renamed folder at login or the next time you run the command.
Could also try clearing their Adobe cache at login or include it in the command as well.
Posted on 04-02-2014 06:48 AM
I think moving the folder will be the solution for me. It allows InDesign to create a new folder in its place. I still can't delete the renamed folder, but maybe i can be deleted on login the next time like you said. Thanks!
Posted on 04-02-2014 07:50 AM
You can also teach the shortcut, add it as a custom item in Self Service, etc:
While pressing Shift+Option+Command+Control, start InDesign. Click Yes when asked if you want to delete preference files.
http://help.adobe.com/en_US/indesign/cs/using/WSa285fff53dea4f8617383751001ea8cb3f-6d21a.html#WSa285fff53dea4f8617383751001ea8cb3f-6d1ba
Posted on 04-02-2014 08:00 AM
I should have mentioned that this did not work. Probably the same reason rm doesn't work.
Posted on 04-02-2014 08:05 AM
That doesn't surprise me. If you can't rm a file/folder, you usually can't move/rename it either.
I'm a little confused. In your OP above you state:
The solution to this is to navigate to ~/Library/Preferences/Adobe InDesign/Version 9.0/en_US/ and trash the file 'InDesign Defaults'.
But then you mentioned needing to delete a file on a share point path. When you navigate to the user's home dir to delete that file, is it actually in the path of /Network/server/user/path/ etc…?
I'm just wondering if there's some local path on the Mac this can be deleted from instead of on a home directory sharepoint?