Opened a file from an email attachment

On save from textmate, I get this error:

The document “BadFactorScoresExample.R” could not be saved.

Failed replacing BadFactorScoresExample.R with /var/folders/66/wrbbw2d11gzds_76wqw367f00000gn/T/TemporaryItems/(A Document Being Saved By TextMate)/BadFactorScoresExample.R: You don’t have permission to save the file “BadFactorScoresExample.R” in the folder “7DBA5AD0-07BF-4399-B649-CDE020317A4B”.


FYI, it also generates errors from commands that need to read/write