$HOME changed by sudo

Brian Murray brian at ubuntu.com
Wed Apr 13 19:43:36 UTC 2011


This is being worked on in http://launchpad.net/bugs/760140.

On Thu, Feb 17, 2011 at 06:03:29PM -0500, Al wrote:
> This is a change I found to be true with Debian v6 also. Debian v5 did not
> have this issue.
> 
> 
> 
> On Thu, Feb 17, 2011 at 5:55 PM, Benjamin Drung <bdrung at ubuntu.com> wrote:
> 
> > Hi,
> >
> > I detected that sudo in natty changes $HOME to /root [1]. Is this a bug
> > or a changed configuration?
> >
> > It had the bad side effect that "sudo pbuilder" didn't find
> > ~/.pbuilderrc.
> >
> > [1] sudo sh -c 'echo $HOME'
> >
> > --
> > Benjamin Drung
> > Debian & Ubuntu Developer
> >
> > --
> > ubuntu-devel mailing list
> > ubuntu-devel at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
> >
> >

> -- 
> ubuntu-devel mailing list
> ubuntu-devel at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel

--
Brian Murray
Ubuntu Bug Master
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20110413/2d83f7c5/attachment.pgp>


More information about the ubuntu-devel mailing list