# Legato framework problem

**URL:** <https://mangoh.discourse.group/t/legato-framework-problem/969>\
**Category:** Tutorials\
**Created:** [December 5, 2017, 10:54pm UTC](https://mangoh.discourse.group/t/legato-framework-problem/969 "2017-12-05T22:54:14Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pat](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@Pat](https://mangoh.discourse.group/u/Pat)\
**Post date:** [December 5, 2017, 10:54pm UTC](https://mangoh.discourse.group/t/legato-framework-problem/969/1 "2017-12-05T22:54:14Z")

</div>

Hello, I have been working through [this getting started guide](http://mangoh.io/mangoh-red-resources-getting-started) and everything had been going smoothly until I got to page 21 of the Windows computer + Legato CLI PDF instruction.

I was able to SSH into the WP7504 module and verified that I had the newest firmware. When I try to run the command: `cd ~/legato_framework/legato`

I get a message that says: `bash: cd: /tmp/guest.tcuyw7/legato: No such file or directory`

I have run through the user guide a few times and looked through the forum but wasn’t seeing this exact problem. Just checking if anyone knows what to do here, possibly I should have downloaded something on the virtual machine rather than on the PC. Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![dfrey](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/dfrey/32/303_2.png) [@dfrey](https://mangoh.discourse.group/u/dfrey)\
**Post date:** [December 5, 2017, 11:16pm UTC](https://mangoh.discourse.group/t/legato-framework-problem/969/2 "2017-12-05T23:16:42Z")

</div>

I haven’t seen this issue before.

Do all of these commands succeed?

1. `ls ~`
2. `ls ~/legato_framework`
3. `ls ~/legato_framework/legato`

---

<div class="post-metadata">

**Author:** ![asyal](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/asyal/32/78_2.png) [@asyal](https://mangoh.discourse.group/u/asyal)\
**Post date:** [December 6, 2017, 4:32am UTC](https://mangoh.discourse.group/t/legato-framework-problem/969/3 "2017-12-06T04:32:29Z")

</div>

where are you running the command? on the host or the target?

---

<div class="post-metadata">

**Author:** ![Pat](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@Pat](https://mangoh.discourse.group/u/Pat)\
**Post date:** [December 6, 2017, 2:35pm UTC](https://mangoh.discourse.group/t/legato-framework-problem/969/4 "2017-12-06T14:35:05Z")

</div>

Hello dfrey, I was able to use the `ls ~` command and got the following directories:  
Desktop / Documents / Downloads / Music / Pictures / Public / Templates / Videos

When I used the ls `~/legato_framework` it said:  
“ls: cannot access ‘/tmp/guest-tcuyw7/legato\_framework’: No such file or directory”

When I used the `~/legato_framework/legato` it said:  
“ls: cannot access ‘/tmp/guest-tcuyw7/legato\_framework/legato’: No such file or directory”

---

<div class="post-metadata">

**Author:** ![Pat](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@Pat](https://mangoh.discourse.group/u/Pat)\
**Post date:** [December 6, 2017, 2:40pm UTC](https://mangoh.discourse.group/t/legato-framework-problem/969/5 "2017-12-06T14:40:32Z")

</div>

I was running on the host unless I am confused about this with there being a virtual machine involved. The virtual machine on my PC with Ubuntu is where I was running the commands from in their terminal. Threw the image of what I am currently seeing.

 ![ls commands](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/1X/77a822fefe47d9df18a16f502e026c4b8829657c.PNG)

---

<div class="post-metadata">

**Author:** ![asyal](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/asyal/32/78_2.png) [@asyal](https://mangoh.discourse.group/u/asyal)\
**Post date:** [December 6, 2017, 2:42pm UTC](https://mangoh.discourse.group/t/legato-framework-problem/969/6 "2017-12-06T14:42:23Z")

</div>

did you download the legato framework? What directory?

---

<div class="post-metadata">

**Author:** ![Pat](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@Pat](https://mangoh.discourse.group/u/Pat)\
**Post date:** [December 6, 2017, 2:59pm UTC](https://mangoh.discourse.group/t/legato-framework-problem/969/7 "2017-12-06T14:59:28Z")

</div>

Hello Asyal, was looking through steps that I took and did not see that I had downloaded the legato framework. From what I can see on [page 16 of this document](http://mangoh.io/uploaded-documents/Reference/mangOH%20Red/Discover/Getting%20Started/41110479_mangOH_Red_GettingStartedWinCLI_r3.pdf) I downloaded the mangOH Dev using Legato 17.07.2 on Ubuntu

On page 20 of the same document it said:  
“Now that your dev machine is set up with the Legato VM (which has Legato already pre-installed and configured)”

From what I had read up to that point I had not seen a directory called out (not that it wasn’t, I am trying to improve my vernacular when I read through these things but am very much a novice) I had been under the impression that when I downloaded the Virtual Machine that the legato directory would have been in that. Is there another place to find those directories?

---

<div class="post-metadata">

**Author:** ![asyal](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/asyal/32/78_2.png) [@asyal](https://mangoh.discourse.group/u/asyal)\
**Post date:** [December 6, 2017, 6:33pm UTC](https://mangoh.discourse.group/t/legato-framework-problem/969/8 "2017-12-06T18:33:40Z")

</div>

where did you download the VM from?

---

<div class="post-metadata">

**Author:** ![dfrey](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/dfrey/32/303_2.png) [@dfrey](https://mangoh.discourse.group/u/dfrey)\
**Post date:** [December 6, 2017, 6:40pm UTC](https://mangoh.discourse.group/t/legato-framework-problem/969/9 "2017-12-06T18:40:13Z")

</div>

I’m pretty sure that the VM has clones of the Legato and mangOH repositories inside of it. Did you perhaps delete these directories?

When I do `ls -1 ~` I get:

```
Desktop
devstudio-5.2-linux64
Documents
Downloads
legato
legato_framework
mangOH
Music
Pictures
Public
Templates
Videos
```

---

<div class="post-metadata">

**Author:** ![daav](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/daav/32/79_2.png) [@daav](https://mangoh.discourse.group/u/daav)\
**Post date:** [December 7, 2017, 6:13am UTC](https://mangoh.discourse.group/t/legato-framework-problem/969/10 "2017-12-07T06:13:59Z")

</div>

Hi @Pat

it looks like you logged into the VM by using the “guest” account (which temporary home directory is in /tmp) instead of the “mangOH” account.

---

<div class="post-metadata">

**Author:** ![Pat](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@Pat](https://mangoh.discourse.group/u/Pat)\
**Post date:** [December 7, 2017, 1:57pm UTC](https://mangoh.discourse.group/t/legato-framework-problem/969/11 "2017-12-07T13:57:13Z")

</div>

Hello Asyal, Dfrey, and Daav. Thank you for responding. Sorry, got kind of busy yesterday and will be for better part of the morning. Am going to try looking into your posts later today! Really appreciate the help I have found here so far as well.

---

<div class="post-metadata">

**Author:** ![dfrey](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/dfrey/32/303_2.png) [@dfrey](https://mangoh.discourse.group/u/dfrey)\
**Post date:** [December 7, 2017, 4:54pm UTC](https://mangoh.discourse.group/t/legato-framework-problem/969/12 "2017-12-07T16:54:04Z")

</div>

Good catch @daav! The username is visible in the terminal in the screenshot.

---

<div class="post-metadata">

**Author:** ![Pat](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@Pat](https://mangoh.discourse.group/u/Pat)\
**Post date:** [December 7, 2017, 5:30pm UTC](https://mangoh.discourse.group/t/legato-framework-problem/969/13 "2017-12-07T17:30:53Z")

</div>

Well daav that did it! Thank you so much guys appreciate all the help!
