I don't have permission to access monodevelop files

Bug #886174 reported by Edward Smith-Rowland
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
monodevelop (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I'm on 11.10 Oneiric.

When I open an existing solution I get:
-------------------------------------------------------------------------------------------------------------
ERROR [2011-11-04 11:05:28Z]: Can't create syntax mode directory
System.UnauthorizedAccessException: Access to the path "/usr/lib/monodevelop/bin/../data/HighlightingSchemes" is denied.
  at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] in <filename unknown>:0
  at System.IO.Directory.CreateDirectory (System.String path) [0x00000] in <filename unknown>:0
  at MonoDevelop.SourceEditor.SourceEditorDisplayBinding.LoadCustomStylesAndModes () [0x00000] in <filename unknown>:0
-------------------------------------------------------------------------------------------------------------
The project does open.

But whe I try to compile I get:
-------------------------------------------------------------------------------------------------------------
ERROR [2011-11-04 11:15:01Z]: C# compiler not found for Mono / .NET 3.5.
ERROR [2011-11-04 11:15:01Z]: System.Exception: C# compiler not found for Mono / .NET 3.5.
  at MonoDevelop.CSharp.CSharpBindingCompilerManager.GetCompilerName (MonoDevelop.Core.Assemblies.TargetRuntime runtime, MonoDevelop.Core.Assemblies.TargetFramework fx) [0x00000] in <filename unknown>:0
  at MonoDevelop.CSharp.CSharpBindingCompilerManager.Compile (MonoDevelop.Projects.ProjectItemCollection projectItems, MonoDevelop.Projects.DotNetProjectConfiguration configuration, MonoDevelop.Projects.ConfigurationSelector configSelector, IProgressMonitor monitor) [0x00000] in <filename unknown>:0
-------------------------------------------------------------------------------------------------------------

I can't build anything. It seems more like a packaging problem. I'm going to try to blow open the permissions so I can get work done.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: monodevelop 2.6+dfsg-1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Fri Nov 4 11:11:14 2011
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: monodevelop
UpgradeStatus: Upgraded to oneiric on 2011-10-17 (18 days ago)

Revision history for this message
Edward Smith-Rowland (3dw4rd) wrote :
Revision history for this message
Julian Taylor (jtaylor) wrote :

your project probably requires the 2.0 framework compiler.
try installing that:
sudo apt-get install mono-gmcs

Revision history for this message
Julian Taylor (jtaylor) wrote :

you can switch to the now default 4.0 runtime in project -> project-name options -> build -> general -> runtime version

Revision history for this message
Edward Smith-Rowland (3dw4rd) wrote : Re: [Bug 886174] Re: I don't have permission to access monodevelop files

On 11/04/2011 05:26 PM, Julian Taylor wrote:
> your project probably requires the 2.0 framework compiler.
> try installing that:
> sudo apt-get install mono-gmcs
>
This did it. Thanks.

Julian Taylor (jtaylor)
Changed in monodevelop (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.