[Mono-bugs] [Bug 81278][Nor] New - also check HOME env var if passwd's home dir isn't writable

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Mar 30 18:17:52 EDT 2007

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by wberrier at novell.com.


--- shadow/81278	2007-03-30 17:17:52.000000000 -0500
+++ shadow/81278.tmp.16682	2007-03-30 17:17:52.000000000 -0500
@@ -0,0 +1,33 @@
+Bug#: 81278
+Product: Mono: Runtime
+Version: 1.2
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: io-layer
+AssignedTo: dick at ximian.com                            
+ReportedBy: wberrier at novell.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: also check HOME env var if passwd's home dir isn't writable
+Currently, if the .wapi dir needs to be created, it uses glib's ability to
+get the homedir from the passwd file.
+I've run into a situation where there are 2 users in the passwd file with
+the same uid.  One of the users had a writable home directory, and another
+user didn't (the nobody user with a home of '/').  Since the glib function
+returned the dir that wasn't writable, creating .wapi failed and the
+process failed as well.
+I've filed a bug on their side (opensuse build service), but thought I
+might make a note to have a backup plan for mono if this is the case.
+It may be a good idea to check to see if the home dir is writable, and if
+it isn't, also check the $HOME var to see if it's different or writable. 
+If so, use it instead.

More information about the mono-bugs mailing list