Skip to content

Commit

Permalink
Fixed DropboxFS.stat missing permission bits
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Nov 4, 2024
1 parent b3666b4 commit d2b333c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dropbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export class DropboxFS extends Async(FileSystem) {
switch (result['.tag']) {
case 'file':
return new Stats({
mode: result.symlink_info ? S_IFLNK : S_IFREG,
mode: (result.symlink_info ? S_IFLNK : S_IFREG) | 0o777,
size: result.symlink_info?.target?.length || result.size,
atimeMs: Date.now(),
mtimeMs: Date.parse(result.server_modified),
Expand Down

0 comments on commit d2b333c

Please sign in to comment.