[OS X TeX] Latex file locks

Themis Matsoukas via MacOSX-TeX macosx-tex at email.esm.psu.edu
Fri Nov 27 15:10:37 CET 2020


Hi Dick,

The "bad" file gives

CHE-TM5178-2:Latex Files themis$ xattr -p com.apple.FinderInfo che524_BAD.tex
00 00 00 00 00 00 00 00 04 06 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

I copy/pasted the contents of "che524_BAD.tex" into  a new file, "che524.tex".  This file is saved properly and gives no xattr:

CHE-TM5178-2:Latex Files themis$ xattr -p com.apple.FinderInfo che524.tex
xattr: che524.tex: No such xattr: com.apple.FinderInfo

Since I now have a properly behaving file this is no longer an issue for me, but it was strange...

Thanks,

Themis



> On Nov 27, 2020, at 8:57 AM, koch at math.uoregon.edu wrote:
> 
> Themis,
> 
> I vaguely remember that long ago someone ran into this problem and the reason was a bad entry in the com.apple.FinderInfo attribute. This attribute comes from the Mac long, long ago. You can read it using Terminal. To get the attribute for a file named "Final.tex", for instance
> 
> 	xattr -p com.apple.FinderInfo Final.tex
> 
> In that old case, some other program was incorrectly setting the attribute. But I have forgotten the details. Perhaps another user remembers more.
> 
> By comparing attributes from files that work and files that don't work, you should be able to see if this hint is related or irrelevant.
> 
> Richard Koch
> 
>> On Nov 27, 2020, at 5:17 AM, Themis Matsoukas via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
>> 
>> I've suddenly run into problems with a latex file in TexShop:it refuses to save and claims the file is locked. If I quit TS and restart the computer, I can get one edit saved, but the next edit gives me the error message below. I am on TS 4.51, OS 11.0.1.
>> 
>> Themis
>> 
>> 
>> 
>> 
>> 
>> <q.pdf>
>> ----------- Please Consult the Following Before Posting -----------
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
>> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>>               https://email.esm.psu.edu/pipermail/macosx-tex/
>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>                https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex


More information about the macostex-archives mailing list.