tauri icon indicating copy to clipboard operation
tauri copied to clipboard

[bug] path not allowed on the configured scope (at linux)

Open xdewx opened this issue 2 years ago • 2 comments

Describe the bug

ok at windows, not at linux

Reproduction

  1. open https://github.com/4tst/tauri-issues/tree/bug/fs-scopes
  2. follow the readme.md

Expected behavior

No response

Platform and versions

1. linux debian
2. tauri 1.2.6

Stack trace

No response

Additional context

No response

xdewx avatar May 28 '23 08:05 xdewx

After following the readme instructions the app worked fine for me, no errors... Can you try it again after upgrading the js and rust dependencies to the latest version?

FabianLars avatar May 30 '23 11:05 FabianLars

After following the readme instructions the app worked fine for me, no errors... Can you try it again after upgrading the js and rust dependencies to the latest version?

after upgrading, error still here. did you run tauri under linux and use branch bug/fs-scopes 图片 图片

and i found:

  1. if appDataDir not exist before, when run pnpm tauri dev, the error happens, but appDataDir is created correctly
  2. delete appDataDir after step 1, then refresh the page, then no errors and appDataDir is created
  3. refresh again after step2, the error happens again

xdewx avatar Jun 02 '23 15:06 xdewx