I know that the @ in
-rwxrwxrwx@ 1 me staff 0 16 Mai 10:55 myLog.txt
means, that there is some extended metadata attached.
Fine. Doesn't interest me.
I need to know how to remove it ?
I get this again and again while in developing stage of some php scripts. And again and again my logfiles get blocked by the @ and my scripts can't write into the log-files anymore. My only solution so far: remove the file and recreate it and rechmod the permissions of the file, which of course sucks.
And maybe you can tell me what is causing it ? It seems completly random. Can I deactivate this blocking @
Edit and Solution:
Thanks to the comments I have found out now that the following command removes the "@"
xattr -d com.macromates.caret filename
And the next command prevents Textmate from adding it again (close Textmate before running the command).
defaults write com.macromates.textmate OakDocumentDisableFSMetaData 1
Source and more infos here