dgiagio / warp

Create self-contained single binary applications
MIT License
1.91k stars 91 forks source link

Warp does not work for no login shell users #43

Open josepajay opened 5 years ago

josepajay commented 5 years ago

Create a user with no login shell and no bin/bash

sudo useradd -r subversion

I am trying to create a systemd service which will be executed by a user of this category.

Executing the warped application using this user

sudo -u subversion ./warped

creates error

Error: Custom { kind: Other, error: StringError("no tarball found inside binary")

Is there a way run warped dotnet applications for users with no login shell users / no bin/bash users?

lastlink commented 5 years ago

from some of the notes it looks like warp places files in a .local cache for the users when it runs for the first time, maybe this is why it doesn't work for a no login user.