[OS X TeX] Copying gwTeX

Aaron Jackson jackson at msrce.howard.edu
Mon Sep 26 14:40:01 EDT 2005


On Sep 26, 2005, at 4:41 AM, Peter Dyballa wrote:

>
> Am 26.09.2005 um 06:08 schrieb Aaron Jackson:
>
>> tar cfz - ./local | ssh machine 'cd <target dir>; tar xpfz -'
>>
>> note the ``p'' in the second tar preserves the owner and group 
>> information along with the file modes, which might be critical 
>> depending on who owns the files.
>
> Since this thread continues: the ``p´´ is usually on, so it can happen 
> that you find files on your disk that belong to some far away user id.

Not to belabor the point, but you really cannot assume that the ``p'' 
option is always on  for all tar's.  As I mentioned, if there is a suid 
or guid file in the archive, you can run into problems with the 
resulting files...

Aaron

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list