[Mono-list] mono trying to mkdir /etc/mono/registry

Carl Cerecke carl.cerecke at telogis.com
Wed Jul 2 23:34:59 EDT 2008


Hi,

I have a C# .NET application successfully running on mono, but it
requires certain directories to exist in /etc/mono.

In particular, these must exist, or it fails to run ("mkdir
/etc/mono/registry" from somewhere inside mono gets permission denied)
:

$ find /etc/mono/registry
/etc/mono/registry
/etc/mono/registry/LocalMachine
/etc/mono/registry/ClassesRoot

If I run the C# app as root, it mkdirs these for me. Then I can run it
as an ordinary user no problems. Note that there are no files at all
in any of these directories.

Any idea how I can convince mono to not try to create these?

Cheers,
Carl.
-- 
Carl Cerecke, PhD
Senior Software Engineer

Telogis, Intelligent Location Technology
Level 2, Building 2
1 Show Place
Addington
CHRISTCHURCH
New Zealand

Phone: +64 03 339 2825 ext 208
Fax: +64 03 339 4537
Email: carl.cerecke at telogis.com

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and is
protected by law. If you are not the intended recipient, you should
delete this message and are hereby notified that any disclosure,
copying, or distribution of this message, or the taking of any action
based on it, is strictly prohibited.


More information about the Mono-list mailing list