[yocto] Source Command Permission Denied

Kashyap Gada gada.kashyap at gmail.com
Tue Jun 3 08:39:22 PDT 2014


Hello,

I was trying to again do the

$ source oe-init-build-env

on a new system where the yocto folder is not on an external media but in
the home directory and I still get the same problem.

kashyap at aditya:~/yocto/poky$ ll total 88 drwxrwxr-x 11 root kashyap 4096
Jun 3 20:56 ./ drwxrwxr-x 3 root kashyap 4096 Jun 3 21:00 ../ drwxrwxr-x 6
kashyap kashyap 4096 May 30 08:36 bitbake/ drwxrwxr-x 12 kashyap kashyap
4096 May 30 08:36 documentation/ drwxrwxr-x 8 kashyap kashyap 4096 May 30
17:45 .git/ -rw-rw-r-- 1 kashyap kashyap 341 May 30 08:35 .gitignore
-rw-rw-r-- 1 kashyap kashyap 515 May 30 08:35 LICENSE drwxrwxr-x 21 kashyap
kashyap 4096 May 30 08:35 meta/ drwxrwxr-x 5 kashyap kashyap 4096 May 30
08:35 meta-selftest/ drwxrwxr-x 7 kashyap kashyap 4096 May 30 08:35
meta-skeleton/ drwxrwxr-x 5 kashyap kashyap 4096 May 30 08:35 meta-yocto/
drwxrwxr-x 7 kashyap kashyap 4096 May 30 08:36 meta-yocto-bsp/ -rwxrwxrwx 1
root kashyap 2000 May 30 08:35 oe-init-build-env* -rw-rw-r-- 1 kashyap
kashyap 2449 May 30 08:35 oe-init-build-env-memres -rw-rw-r-- 1 kashyap
kashyap 2046 May 30 08:35 README -rw-rw-r-- 1 kashyap kashyap 18500 May 30
08:36 README.hardware drwxrwxr-x 9 kashyap kashyap 4096 May 30 08:36
scripts/ -rw-rw-r-- 1 kashyap kashyap 66 May 30 08:35 .templateconf
kashyap at aditya:~/yocto/poky$ source oe-init-build-env bash:
/home/kashyap/yocto/poky/scripts/oe-setup-builddir: Permission denied
kashyap at aditya:~/yocto/poky$


Please Help


On Fri, May 30, 2014 at 6:06 PM, Kashyap Gada <gada.kashyap at gmail.com>
wrote:

> Thank You. I did the following and it worked.
>
> First Found the drive using
>
> $ sudo fdisk -l
>
> Then Selected the desired drive and create a directory in the /mnt path
>
> $ sudo mkdir hda
>
> Now Mount the sda5(can be different for you)
>
> $ sudo mount -t auto -v /dev/sda5 /mnt/hda
>
> after the work is done can unmount using
>
> sudo unmount /dev/sda5 (not checked this part yet)
>
> Thanks
> Kashyap Gada
> smartsys india
> gada(.)kashyap(@)gmail(.)com
>
> $sudo mount -t
>
>
> On Fri, May 30, 2014 at 4:40 PM, Burton, Ross <ross.burton at intel.com>
> wrote:
>
>> On 30 May 2014 05:06, Kashyap Gada <gada.kashyap at gmail.com> wrote:
>> >> bash:
>> >> /media/kashyap/3E0800DC08009555/yocto/poky/scripts/oe-setup-builddir:
>> >> Permission denied
>>
>> You appear to be running Yocto on external media and your system has
>> likely mounted it with the "noexec" flags to prevent malicious
>> programs.  You'll want to remount it with the "exec" flag, using mount
>> -o exec,remount /media/kashyap/3E0800DC08009555 should do the trick.
>>
>> Ross
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140603/269795cb/attachment.html>


More information about the yocto mailing list