[OS X TeX] Command-line fun

Peter Dyballa Peter_Dyballa at Web.DE
Mon Jan 15 22:34:38 CET 2007


Am 15.01.2007 um 17:04 schrieb Peter Dyballa:

>>
>> - Task (2):
>>
>> 	sudo find /usr/local/gwTeX/texmf.local -type d -exec chmod 755 {} \;
>> 	sudo find /usr/local/gwTeX/texmf.local -type f -exec chmod 644 {} \;
>
> 2755 for directories might be a better choice: then automatically  
> the new contents in such a directory would be owned by the owners  
> of this directory. No "post-fixing" would be necessary.

I have to correct myself: it's not the ownership, it's (only) the  
group! Ownership is resolved by effectively using root to copy or  
move (otherwise it would fail due to permissions set). If copy is  
used, then the group owning the copy would be determined by the mood  
or mode root is working in right now, which can be other than wheel.  
If something is moved, then the original group membership can be  
preserved. So the set-group-ID-on-execution bit (2<plus the three  
well-known digits>) rectifies this group ownership. This bit can also  
be set by 'chmod g+t'.

--
Greetings

   Pete

Time is an illusion. Lunchtime, doubly so.



------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list