Skip to content

Commit

Permalink
fix: adjust permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwynr committed Dec 9, 2024
1 parent dd135a5 commit 7d08c2b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@filen/sync",
"version": "0.1.92",
"version": "0.1.93",
"description": "Filen Sync",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
7 changes: 1 addition & 6 deletions src/lib/filesystems/local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,12 +373,7 @@ export class LocalFileSystem {
}

try {
await fs.access(
absolutePath,
this.sync.mode === "cloudBackup" || this.sync.mode === "cloudToLocal" || this.sync.mode === "twoWay"
? fs.constants.W_OK | fs.constants.R_OK
: fs.constants.R_OK
)
await fs.access(absolutePath, fs.constants.R_OK)
} catch {
this.getDirectoryTreeCache.ignored.push({
localPath: absolutePath,
Expand Down

0 comments on commit 7d08c2b

Please sign in to comment.