Skip to content

Commit bd3d8f6

Browse files
committed
fix: expand fs:scope to allow broader filesystem access for mount operations
Added \/**, \/** and ** to fs:scope to ensure mount operations on Linux/macOS can access paths outside home directory (e.g., /mnt, /media).
1 parent 42d5b1e commit bd3d8f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src-tauri/capabilities/migrated.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"fs:allow-exists",
2323
{
2424
"identifier": "fs:scope",
25-
"allow": ["$RESOURCE/**", "binaries/**", "$HOME/**", "$APPDATA/**", "$CONFIG/**", "$DATA/**", "$DOWNLOAD/**", "$DESKTOP/**", "$DOCUMENT/**"]
25+
"allow": ["$RESOURCE/**", "binaries/**", "$HOME/**", "$APPDATA/**", "$CONFIG/**", "$DATA/**", "$DOWNLOAD/**", "$DESKTOP/**", "$DOCUMENT/**", "$TEMP/**", "$TMP/**", "**"]
2626
},
2727
"core:window:allow-create",
2828
"core:window:allow-center",

0 commit comments

Comments
 (0)