I'm building BLFS from a recent development version. The package
font-bh-ttf-1.0.3.tar.bz2 in Xorg Fonts causes the installation script to
exit with an error...

rm: cannot remove
'font-bh-ttf-1.0.3/@baseconfigdir@/conf.avail/42-luxi-mono.conf': Permission
denied
rm: cannot remove
'font-bh-ttf-1.0.3/@baseconfigdir@/conf.d/42-luxi-mono.conf': Permission denied

So some files did not get installed, and it wasn't really obvious either. I
might not have known except for noticing that the exit command did not
return to the previous shell but logged me out of the console. And there was
the build directory still sitting there in the font directory.

I'm running the Xorg scripts as an ordinary user and Sudo is installed, so
the as_root function is using the sudo "if" condition. I reproduced this
issue by attempting to re-install font-bh-ttf-1.0.3 manually. The ordinary
user cannot delete this package's build directory (and perhaps others, who
knows). I could remove it with sudo. I often find that root is required to
delete build directories.

Anyway, I don't know if this affects other people or not. What's your
opinion of adding the as_ root function to the rm -rf $packagedir command in
these Xorg scripts?

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to