Where are temporary files stored on Mac?

Support for our DiffMerge utility.

Moderator: SourceGear

Post Reply
Chris Graham
Posts: 2
Joined: Fri Feb 20, 2009 5:17 pm

Where are temporary files stored on Mac?

Post by Chris Graham » Fri Feb 20, 2009 5:20 pm

I recently used the MacOS 'Repair Permissions' feature and now I get an error when I open a diff between 2 files.

"Failed to create a temporary file name (error 13)"

I think the error is coming from MacOS (can't find it in the executable) but I am hoping someone can help me understand it better.


My permissions on /var/tmp and /private/tmp (=/tmp) seem fine. I'm not getting errors from other software. I tried replacing DiffMerge.app with a fresh download to no effect.

jeffhostetler
Posts: 534
Joined: Tue Jun 05, 2007 11:37 am
Location: SourceGear
Contact:

Re: Where are temporary files stored on Mac?

Post by jeffhostetler » Sat Feb 21, 2009 12:38 pm

Look in the directory that contains the file in the editable panel.
The temp file is created in that directory along side the file being
edited.

Let me know if you have any other questions,
jeff

Chris Graham
Posts: 2
Joined: Fri Feb 20, 2009 5:17 pm

Re: Where are temporary files stored on Mac?

Post by Chris Graham » Sat Feb 21, 2009 6:06 pm

I think that's it - I think somehow repair permissions must have removed my admin user's write access to the directory. Weird.

Thanks Jeff, now I understand I'm sure it'll be an easy fix.

Post Reply