# Le\_fs\_\* seems broken

**URL:** <https://mangoh.discourse.group/t/le-fs-seems-broken/5296>\
**Category:** mangOH Red\
**Created:** [September 24, 2020, 11:58pm UTC](https://mangoh.discourse.group/t/le-fs-seems-broken/5296 "2020-09-24T23:58:56Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [September 25, 2020, 12:28am UTC](https://mangoh.discourse.group/t/le-fs-seems-broken/5296/6 "2020-09-25T00:28:18Z")

</div>

Other user does not find problem, you can have a look here:

> [@Write value in mangOH /sys files](https://mangoh.discourse.group/t/write-value-in-mangoh-sys-files/4717/6):
>
> Blockquote When using unsandboxed application, you need to specify the full path when fopen() . I did that, but i had the same error (Bad file descriptor). But I tried (in unsandboxed mode) to use open instead of fopen and write instead of fprintf and it worked ! If anyone is interested, here is my code: #include "interfaces.h" #include "legato.h" #include \<errno.h\> #include \<unistd.h\> #include \<fcntl.h\> #include \<string.h\> COMPONENT\_INIT { int rc; int fp = open("/sys/bus/i2c/devi…

---

_[View the full topic](https://mangoh.discourse.group/t/le-fs-seems-broken/5296)._
