tauri-apps / tauri-apps/plugins-workspace

[persisted-scope] Symlinked path is not persisted

Open
#127 0 comments 0 reactions 0 assignees View on GitHub
plugin: persisted-scope type: bug
Dominant language
Rust
Stars
1.8k
Forks
602
Avg merge
4d 14h
Merged PRs (30d)
9

Description

Consider this setup:
1. I have `["$APP", "$APP/*", "$APP/**/*"]` as the allowed scope in `tauri.conf.json`.
2. I use `dialog.open` within my app to open `some/path`.
3. I create a symlink to `some/path` at `$APP`.

Now, if I reload the page (CTRL+R) for example, the path is still accessible. However, if I restart the app, the path is no longer accessible and I get "path not allowed on the configured scope: my/path".

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.