0

Hopefully this has not been asked/answered before, but I haven't found anything that fits my issue.

I installed mono on CentOS 6.2 as described here using an rpm and then downloaded FSharp-2.0.0.0. I got it all set up and fsi works great (as long as I pass it the option --gui-) while as root. However, when I try to do it as a plain user I get an error telling me something about not being able to access the registry.

Here is a screenshot: enter image description here

I'm not sure what the issue is (I've never used CentOS before, but a lab I work in does and I want to put FSharp on it for data processing -- thus I have to use CentOS, which I've read can be troublesome with mono). Thanks for any help!

pad
  • 41,040
  • 7
  • 92
  • 166
Taylor Southwick
  • 1,456
  • 13
  • 14

1 Answers1

4

I know little about CentOS, but the error message seems fairly clear, the mono process running fsi.exe does not have access to a file (the file path is given in the message). So it should be just a matter of running as root to give yourself access to the file, or better yet granting the current user access to this file via chmod (or similar tool).

Onorio Catenacci
  • 14,928
  • 14
  • 81
  • 132
Robert
  • 6,407
  • 2
  • 34
  • 41
  • Ok, that's pretty obvious, I guess. I made that file read and writable by anyone for now and it runs just fine. Does anyone know if there are other files that could cause these permission issues? – Taylor Southwick Jan 11 '12 at 04:46