[tex-live] updmap and /

Lars Madsen daleif at imf.au.dk
Tue Feb 24 20:02:49 CET 2009


Lars Madsen wrote:
> sorry if this have been reported before
> 
> if / is not readable for the user, then updmap fails to clean up after 
> itself because the test
> 
> { cd / && rm -rf "$tmpdir"; }
> 
> fails, e.g.
> 
> mkdir /tmp/test
> cd /
> rm -rf /tmp/test
> 
> fails with the message
> 
> rm: cannot get current directory: Permission denied
> 
> Not sure if it is nonstandard to have / non readable
> 
> ~> ls -ld /
> drwx--x--x  ... /
> 
> 
> 

why does it need access to / anyway?

wouldn't

{ cd "$tmpdir" && cd .. && rm -rf "$tmpdir" }

be better? unless of course we do not have read access to the directory 
above $tmpdir

/daleif




More information about the tex-live mailing list