Problems with GnuCash 2.4.7 - Snow Leopard and Lion

prl prl at ozemail.com.au
Fri Sep 2 04:13:05 EDT 2011


On 2/09/11 15:54, angrest wrote:
> ...
>
> Still unclear: why was the startup-code unable to replace the symlink? I was asked for authentication anyway, so parts of the code should have run under sufficient privileges.
>
> ...

Linux (any Unix, really) won't allow you to create a symlink if a 
symlink (or any type of file, really) of that name already exists. No 
matter what privileges you have. You have to remove the symlink (or 
file) first.

Eg, in a shell script do something like:
[ -L symlinkName -o -e symlinkName ] && rm symlinkName
ln -s symlinkTarget symlinkName

Really a bit of a bug in the start-up code.

Peter



More information about the gnucash-user mailing list