# Scheduled script cannot run LXC

**URL:** <https://forums.digi.com/t/scheduled-script-cannot-run-lxc/27195>\
**Category:** Cellular Routers\
**Tags:** dal, ix30, containers\
**Created:** [August 23, 2023, 8:32pm UTC](https://forums.digi.com/t/scheduled-script-cannot-run-lxc/27195 "2023-08-23T20:32:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![akurzweil](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@akurzweil](https://forums.digi.com/u/akurzweil)\
**Post date:** [August 23, 2023, 8:32pm UTC](https://forums.digi.com/t/scheduled-script-cannot-run-lxc/27195/1 "2023-08-23T20:32:10Z")

</div>

I’m using an IX30 on the latest firmware (23.6.1.117). I’m attempting to follow the containers examples [Digi Containers SDK | Digi International](https://www.digi.com/support/knowledge-base/digi-containers-sdk) with the provided test\_lxc.tgz. The container creation seems to happen fine, and “show containers” at the console shows the container as “configured”, “enabled”, and “STOPPED”. Additionally, when I create an automation script to run the simple ping inside the container as outlined in the SDK tutorial, I get the following error:

```auto
Aug 23 20:18:39 IX30 script.ping_container_script.st: lxc-execute: test_lxc: start.c: print_top_failing_dir: 99 Permission denied - Could not access /opt/lib/lxc. Please grant it x access, or add an ACL for the container root
Aug 23 20:18:39 IX30 script.ping_container_script.st: lxc-execute: test_lxc: sync.c: sync_wait: 34 An error occurred in another process (expected sequence number 1)
Aug 23 20:18:39 IX30 script.ping_container_script.st: lxc-execute: test_lxc: start.c: __lxc_start: 2074 Failed to spawn container "test_lxc"
Aug 23 20:18:39 IX30 script.ping_container_script.st: lxc-execute: test_lxc: tools/lxc_execute.c: main: 224 Failed run an application inside container

```

Obviously I can’t `chmod +x /opt/lib/lxc` given the permissions of the admin account on the device. Has anyone found a work around? Is this a known bug and I need to downgrade to an older version? Which one? Thanks!

---

<div class="post-metadata">

**Author:** ![jpaczkow](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/jpaczkow/32/9_2.png) [@jpaczkow](https://forums.digi.com/u/jpaczkow)\
**Post date:** [August 23, 2023, 8:52pm UTC](https://forums.digi.com/t/scheduled-script-cannot-run-lxc/27195/2 "2023-08-23T20:52:31Z")

</div>

Hello and welcome to the Digi Support forums @akurzweil !

Unfortunately, I haven’t had a chance to test this but I do not see any internal notes on bugs or permissions issues with containers. With that said, I will take this to our developer team to see if they saw something like this before and/or if a simple fix is needed.

I will also suggest sending us an email to [tech.support@digi.com](mailto:tech.support@digi.com) to track this the issue with the same question. Then, we can ensure it is tracked properly.
