Skip to content

2.7.7

Latest

Choose a tag to compare

@james-pre james-pre released this 10 Oct 19:40
Immutable release. Only release title and notes can be modified.
v2.7.7
3a8844b
  • Fixed Async()._patchAsync not checking for loops correctly in non-V8 engines (#325)
  • Fixed Async() applying synchronous operations to the sync cache twice (regression from #325)
  • Fixed Stats constructor type and conversion
  • Fixed Handle.chownSync reporting chmod as the syscall for EBADF (#326)
  • Fixed sync open checking the creation mode as requested access (#326)
  • Fixed hasAccess treating an effective gid of 0 as root (#326)
  • Fixed symlinks being created with no permission bits (#326)
  • Fixed npm run test:native still using tsx when it shouldn't
  • Fixed stat requiring read permission on the file (#326)
  • Fixed hasAccess checking the real uid/gid instead of the effective ones (#326)
  • Fixed lstat of a mount point returning the underlying directory (#326)
  • Fixed hasAccess combining owner, group, and other permissions (#326)
  • Fixed unlink, rmdir, and rename not requiring write and search permission on the parent directory (#326)
  • Fixed the sticky bit not being enforced when removing entries (#326)
  • Fixed chmod, chown, and utimes not checking ownership (#326)
  • Fixed moving a directory to a different parent not requiring write permission on the directory
  • Fixed non-root chmod keeping setgid when the caller is not in the file's group
  • Fixed chown keeping setuid and setgid
  • Fixed VCache using the exception context proxy of its first caller
  • Fixed VFS not using vcache for most stats
  • Changed lockPath to be a method on VCache [internal]
  • Added VCache.stat and VCache.statSync [internal]
  • Fixed unlink, link, rename, readlink, statfs, l* functions, and xattr functions not following symlinks in parent directories
  • Fixed rmdir following a symlink at the final component
  • Fixed xattr functions ignoring noFollow
  • Fixed path resolution not requiring search permission on parent directories (#326)
  • Added the resolveFullWalk configuration option, which checks search permission on every directory in a path
    • This is currently experimental and will be properly announced in the next minor release
  • Fixed lstat not requiring search permission on the parent directory (#326)
  • Fixed mkdir and open not requiring search permission on the parent directory when creating entries (#326)
  • Fixed exists and existsSync throwing on ENOTDIR and EACCES (#326)
  • Fixed onlySyncOnClose not being marked as deprecated

Thanks to @mathiscode for all the help in #326!