« Return to Thread: Re: Setting up build environment without root priveleges

Re: Setting up build environment without root priveleges

by Matt Robbins-3 :: Rate this Message:

Reply to Author | View in Thread

I noticed that on my two machines, the groupadd command did not seem to fully take effect until I rebooted, i.e. the group appeared in the /etc/group file, but the command # groups did not list it.  I was having some trouble a little later on in the process then when you describe though (when bitbake wanted to download stuff to /usr/share/sources).  Hope this helps.

-Matt

On Thu, May 22, 2008 at 4:13 PM, Chrissy Murray <gossamurr22@...> wrote:
When following the instructions on http://www.gumstix.net/Software/view/Getting-started/Setting-up-a-build-environment/111.html, how did you get around the following steps without super-user privileges?
$ sudo groupadd oe
$ sudo usermod -a -G oe your_username
$ sudo mkdir /usr/share/sources
$ sudo chgrp oe /usr/share/sources
$ sudo chmod 0775 /usr/share/sources
$ sudo chmod ug+s /usr/share/sources

Thanks,
Chrissy

----- Original Message ----
From: Chrissy Murray <gossamurr22@...>
To: gumstix-users@...
Sent: Thursday, May 22, 2008 11:48:44 AM
Subject: Setting up build environment without root priveleges

Hello,
I am attempting to set up the gumstix build environment without root privileges.  No matter what I try (modifying .conf files), I always get the same bitbake output, and it comes out very quickly.  The following is what happens:
$ bitbake gumstix-basic-image
<home directory>/gumstix/gumstix-oe/bitbake/bin/bitbake: Permission denied.
Since I don't know where or why permission is being denied, I'm having trouble in troubleshooting this problem.
Can anyone offer advice on setting up the build environment without root privileges?
Thanks,
Chrissy




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

 « Return to Thread: Re: Setting up build environment without root priveleges