On 12/04/2012, at 12:42 AM, ben wrote:
> hi
>
> I just want to report a small permission error:
>
>
> $ flx hello.flx
> Fatal error: exception Sys_error("/homes/ben/.felix/cache/binary//[...
> pwd ... ]/./hello.par2: Permission denied")
>
> this can be solved with
>
> $ sudo chown -R ben ~/.felix
>
> Maybe this could be solved during the installation process?
How are you installing? You need to use
make install
not fbuild's install. It does this:
#
# Install default build into /usr/local/lib/felix/version/
#
install:
sudo build/release/bin/flx --test=build/release --install
sudo build/release/bin/flx --test=build/release --install-bin
sudo rm -rf $(HOME)/.felix/cache
echo 'println ("installed "+ Version::felix_version);' >
install-done.flx
flx install-done
rm install-done.*
So basically root destroys the cache, then it is rebuilt by the local
account holder using a dummy program. Perhaps the problem is
the $HOME/.felix directory? .. Hmmm ... of course once that exists
and is properly owned there won't be a problem so I haven't seen this.
I put:
sudo chown $USER $HOME/.felix
in the install. Don't like this much because it depends on two
system environment variables (which tend to be platform
dependent).
--
john skaller
[email protected]
http://felix-lang.org
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language