warp
warp copied to clipboard
Error: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }
Steps to reproduce this issue
1. Init app(Windows)
$ dotnet new console -o myApp
$ cd myApp
$ dotnet publish -c Release -r linux-x64
2. Warp v0.3.0(Windows)
$ windows-x64.warp-packer.exe --arch linux-x64 --input_dir bin/Release/netcoreapp2.1/linux-x64/publish --exec myApp --output myAppOut
3. Copy file to Ubuntu
$ chmod 777 myAppOut
$ ./myAppOut
Error: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }
Possible solution
- setting permission
$ chmod 777 /home/user01/.local/share/warp/packages/myApp/myApp
This is Bug or warp specification?
Environment
- Windows 10 64bit 1809
- Ubuntu 18.04.1
- .NET Core 2.1
I currently have the same issue.
The program is able to extract all the files to the cache. I guess the problem here is that the file does not have the executable permission due to maybe coming from windows.
When I manually add the bit via 'chmod +x' I am able to run the application also with the packed application.
@CRC32EX @ssummer1337 Did you guys find a workaround for this issue?
@peters nothing yet
I have the same issue with .NET core 2.2 publishing on Win10-x64 for Linux-x64.
Hi all, I have a fix in my branch. Currently don't have time to clean up the mess I made in my branches to create clean pull request. Hope it helps :-)
Any chance of this going out in a release anytime soon? 😁
@dgiagio Are you planning to release a new version anytime soon? :)
Please make a release with these changes
Please make a release with these changes
+1
Since the author of this project has stopping maintaining this project we have created a fork of this repository: https://github.com/fintermobilityas/warp. Updated binaries can be downloaded from: https://github.com/fintermobilityas/warp/releases/tag/v0.4.0
For those who don't trust these binaries they can be manually downloaded from the following Github Actions Workflow run: https://github.com/fintermobilityas/warp/actions/runs/146462065