<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16705" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=984141315-09122008><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=984141315-09122008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=984141315-09122008><FONT face=Arial size=2>I found a small
problem with respect to tpl2rem on linux, using admb-9.0.9rc2-linux64-gcc3.4.
When using tpl2rem on a file on one of our network disks, this results
in:</FONT></SPAN></DIV>
<DIV><SPAN class=984141315-09122008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=984141315-09122008><FONT face=Arial size=2>sh: envpref.htp:
Permission denied<BR>Error executing command sed -e " " classdef.tmp
> envpref.htp<BR>sh: envpref.htp: Permission denied<BR>Error executing
command sed -n -f
/home/poos001/admb-9.0.9rc2-linux64-gcc3.4/bin
/seddf1b3 tfile2 >> envpref.htp<BR>sh: envpref.htp: Permission
denied<BR>Error executing command sed -n -f
/home/poos001/admb-9.0.9rc2-linux64-gcc3.4/bin
/seddf1b4 tfile4 >> envpref.htp<BR>sh: envpref.htp: Permission
denied<BR>Error executing command sed -f
/home/poos001/admb-9.0.9rc2-linux64-gcc3.4/bin/se
ddf1b2 tfile2 >> envpref.htp<BR>etc.</FONT></SPAN></DIV>
<DIV><SPAN class=984141315-09122008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=984141315-09122008><FONT face=Arial size=2>Subsequently, the
directory in which the tpl file is located looks like:</FONT></SPAN></DIV>
<DIV><SPAN class=984141315-09122008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=984141315-09122008><FONT face=Arial size=2>-rw-r--r-- 1
root imares 1894 2008-12-09 16:36
classdef.tmp<BR>-rw-r--r-- 1 root imares
3817 2008-12-09 16:36 envpref.cpp<BR>-rwxrwxrwx 1 poos001 imares 6622965
2008-10-04 22:25 envpref.dat<BR>-rw-r--r-- 1 root
imares 1894 2008-12-09 16:36 envpref.htp<BR>-rwxrwxrwx 1
poos001 imares 4132 2008-10-04 22:25 envpref.pin<BR>-rwxrwxrwx
1 poos001 imares 2308 2008-12-09 14:01
envpref.tpl<BR>-rw-r--r-- 1 root
imares 0 2008-12-09 16:36
header.tmp<BR>-rw-r--r-- 1 root imares 1263
2008-12-09 16:36 tfile1<BR>-rw-r--r-- 1 root
imares 126 2008-12-09 16:36 tfile2<BR>-rw-r--r-- 1
root imares 383 2008-12-09 16:36
tfile3<BR>-rw-r--r-- 1 root imares 122
2008-12-09 16:36 tfile4<BR>-rw-r--r-- 1 root
imares 585 2008-12-09 16:36 xxalloc1.tmp<BR>-rw-r--r-- 1
root imares 179 2008-12-09 16:36
xxalloc2.tmp<BR>-rw-r--r-- 1 root
imares 836 2008-12-09 16:36
xxalloc3.tmp<BR>-etc.</FONT></SPAN></DIV>
<DIV><SPAN class=984141315-09122008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=984141315-09122008><FONT face=Arial size=2>So, all the
temporary files remain in the directory. Running tpl2rem again results in a
segmentation fault.</FONT></SPAN></DIV>
<DIV><SPAN class=984141315-09122008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=984141315-09122008><FONT face=Arial size=2>This looks like a
problem with setting the permissions when the temporary files are made. The
problem disappears when copying the files to another location (like the users
home dir). The same problem also disappears when running tpl2env as root. Maybe
this can be looked into and fixed in a future version? </FONT></SPAN></DIV>
<DIV><SPAN class=984141315-09122008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=984141315-09122008><FONT face=Arial size=2>Cheers, thanks in
advance, Jan Jaap</FONT> </SPAN></DIV></BODY></HTML>