Amc application create error

I am attempting to create an application on an anbox cloud appliance deployment on CL.

When I run the “sudo amc application create <path/to/application_content>” I get this error:

“If using snap packages, please check if the snap can access the path.
For more info: https://anbox-cloud.io/docs/howto/application/create
Error: could not find application at path: <path/to/application_content>”

does anyone have a fix for this?

As you’re running amc as root, is the directory you’re in owned by root as well? Snap confinement enforces DAC permission checks of the executing user against what it tries to access.

Yes, the directory is owned by root user.
I also change permission to be accessible by everyone (755) and I still get the same error
ls-l

The files have to be in the executing users home directory. As you’re running amc as root (which you don’t have to if you have setup a separate UID for socket access at initialization time), can you move the app directory underneath the root users home directory /root? Also see https://documentation.ubuntu.com/anbox-cloud/en/latest/howto/troubleshoot/troubleshoot-application-creation/#no-such-file-or-directory-error