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

Permissions issues when bundling app image after recursive dir fixes #2487

Open
3 tasks
jkelleyrtp opened this issue Jun 7, 2024 · 0 comments
Open
3 tasks
Assignees
Labels
bug Something isn't working cli Related to the dioxus-cli program needs reproduction An issue that is missing a reproduction
Milestone

Comments

@jkelleyrtp
Copy link
Member

Problem

Steps To Reproduce

I tested this PR, and it does resolve the infinite copy. But I now get this error tauri-apps/tauri#8929 when building the appimage and I need to manually delete the folder dist/bundle between tries as the script get:

thread 'main' panicked at packages/cli/src/cli/bundle.rs:218:13:
Failed to bundle project: IoError(
    Os {
        code: 13,
        kind: PermissionDenied,
        message: "Permission denied",
    },
)

even thought the permission looked alright drwxr-xr-x@ - sadclown 21 mai 09:35 bundle (and the subfolders are the same). I think the issue is that the bundle is in out_dir and there is no filter at packages/cli/src/cli/bundle.rs:163:31 tauri would delete the bundle folder content if it weren't in the bundle_settings.resources_map. I got stuck on this when I tried to fix this issue myself ^^', that is why I didn't open a PR.

Discovered in #2419

Screenshots

If applicable, add screenshots to help explain your problem.

Environment:

  • Dioxus version: [e.g. v0.17, master]
  • Rust version: [e.g. 1.43.0, nightly]
  • OS info: [e.g. MacOS]
  • App platform: [e.g. web, desktop]

Questionnaire

  • I'm interested in fixing this myself but don't know where to start
  • I would like to fix and I have a solution
  • I don't have time to fix this right now, but maybe later
@ealmloff ealmloff added bug Something isn't working cli Related to the dioxus-cli program labels Jul 24, 2024
@jkelleyrtp jkelleyrtp added this to the 0.6.0: Fullstack milestone Jul 25, 2024
@jkelleyrtp jkelleyrtp self-assigned this Aug 1, 2024
@jkelleyrtp jkelleyrtp added the needs reproduction An issue that is missing a reproduction label Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli Related to the dioxus-cli program needs reproduction An issue that is missing a reproduction
Projects
None yet
Development

No branches or pull requests

2 participants