Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lost executable permissions when package #1621

Closed
2 tasks done
bistack opened this issue May 20, 2023 · 0 comments · Fixed by #1622
Closed
2 tasks done

lost executable permissions when package #1621

bistack opened this issue May 20, 2023 · 0 comments · Fixed by #1622
Labels
bug Something isn't working

Comments

@bistack
Copy link

bistack commented May 20, 2023

Bug Description

lost executable permissions when package a pre-build executable binary file in scripts dir.
The executable program is a pre-build one, not by this maturin build.

Your maturin version (maturin --version)

0.14.17

Your Python version (python -V)

3.8.16

Your pip version (pip -V)

23.0.1

What bindings you're using

pyo3

Does cargo build work?

  • Yes, it works

If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?

  • Yes

Steps to Reproduce

  1. pyproject.toml
    [tool.maturin]
    binding = "pyo3"
    data = ".data"

  2. put an executable binary program E (o755) in .data/scripts

  3. maturin build the rust project into whl. as a.whl

  4. pip install a.whl

  5. ls -l the installed E in PATH, it is o644 permission.

@bistack bistack added the bug Something isn't working label May 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant