warp icon indicating copy to clipboard operation
warp copied to clipboard

Error: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }

Open CRC32EX opened this issue 6 years ago • 10 comments

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

CRC32EX avatar Dec 29 '18 00:12 CRC32EX

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.

ssummer1337 avatar Jan 23 '19 22:01 ssummer1337

@CRC32EX @ssummer1337 Did you guys find a workaround for this issue?

peters avatar Mar 26 '19 12:03 peters

@peters nothing yet

CRC32EX avatar Mar 26 '19 19:03 CRC32EX

I have the same issue with .NET core 2.2 publishing on Win10-x64 for Linux-x64.

Unknown6656 avatar Apr 16 '19 11:04 Unknown6656

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 :-)

marcellus-trixus avatar Jul 10 '19 07:07 marcellus-trixus

Any chance of this going out in a release anytime soon? 😁

Salgat avatar Jul 16 '19 21:07 Salgat

@dgiagio Are you planning to release a new version anytime soon? :)

peters avatar Aug 15 '19 10:08 peters

Please make a release with these changes

xarly avatar Nov 15 '19 10:11 xarly

Please make a release with these changes

+1

mw66 avatar Apr 26 '20 16:04 mw66

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

peters avatar Jun 24 '20 17:06 peters