[Mono-list] Strange permissions problem

Gonzalo Paniagua Javier reply.to.the.list.iam.suscribed@notexists.ximian.com
Wed, 19 Jan 2005 16:54:52 -0500


On Fri, 2005-01-14 at 22:10 +0000, James Fitzsimons wrote:
> Hi all,
> 
> This is a bit embarrassing, but I can't figure out whats wrong. I have
> mono-1.1.3 installed and I have somehow broken my install such that I
> can now only run mcs/gmcs and mono applications as root.
> 
> If I run mcs from the prompt as a normal user it simply hangs e.g.
> james@athos src $ mcs
> 
> <hang>
> 
> where as if I run as root or with root permissions (i.e sudo) :
> james@athos src $ sudo mcs
> Password:
> error CS2008: No files to compile were specified
> Compilation failed: 1 error(s), 0 warnings
> james@athos src $ 
> 
> I have checked the permissions on the executables but they look ok. eg.
> james@athos src $ ls -la /usr/local/bin/mcs
> -rwxr-xr-x  1 root root 72 Jan 14 21:48 /usr/local/bin/mcs
> james@athos src $ ls -la /usr/local/lib/mono/1.0/mcs.exe
> -rwxr-xr-x  1 root root 751616 Jan 14 21:47
> /usr/local/lib/mono/1.0/mcs.exe
> james@athos src $
> 
> I have tried reinstalling mono but not luck :-(
> 
> Anybody have any ideas?


Check for the permissions in /usr/local/lib/mono and the
directories/files below it.

-Gonzalo