Hi all, I'd like a review to fix the following bug: http://defect.opensolaris.org/bz/show_bug.cgi?id=7917
Analysis and evaluation: The issue here is that what the root user has permissions of "nobody" when accessing a nfs mounted home directory. Because embedded_su and pfexec both preserve the HOME environment variable this causes errors for programs that try to use D-BUS such as gconf which require a writable directory. The fix is to set the HOME environment variable to match that of the priviliged user's according to the /etc/paswd file. This is more sane than using the nfs mounted HOME and it should be noted that the glib function g_get_home_dir() ignores $HOME for the same reasons. Diffs attached. Thanks, Niall. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: 7917.diff URL: <http://mail.opensolaris.org/pipermail/jds-review/attachments/20090420/8674ade6/attachment.ksh>
