Repository navigation
- Fixed
Async()._patchAsyncnot checking for loops correctly in non-V8 engines (#325) - Fixed
Async()applying synchronous operations to the sync cache twice (regression from #325) - Fixed
Statsconstructor type and conversion - Fixed
Handle.chownSyncreportingchmodas the syscall forEBADF(#326) - Fixed sync
openchecking the creation mode as requested access (#326) - Fixed
hasAccesstreating an effective gid of 0 as root (#326) - Fixed symlinks being created with no permission bits (#326)
- Fixed
npm run test:nativestill using tsx when it shouldn't - Fixed
statrequiring read permission on the file (#326) - Fixed
hasAccesschecking the real uid/gid instead of the effective ones (#326) - Fixed
lstatof a mount point returning the underlying directory (#326) - Fixed
hasAccesscombining owner, group, and other permissions (#326) - Fixed
unlink,rmdir, andrenamenot requiring write and search permission on the parent directory (#326) - Fixed the sticky bit not being enforced when removing entries (#326)
- Fixed
chmod,chown, andutimesnot checking ownership (#326) - Fixed moving a directory to a different parent not requiring write permission on the directory
- Fixed non-root
chmodkeeping setgid when the caller is not in the file's group - Fixed
chownkeeping setuid and setgid - Fixed
VCacheusing the exception context proxy of its first caller - Fixed VFS not using vcache for most stats
- Changed
lockPathto be a method onVCache[internal] - Added
VCache.statandVCache.statSync[internal] - Fixed
unlink,link,rename,readlink,statfs,l*functions, and xattr functions not following symlinks in parent directories - Fixed
rmdirfollowing a symlink at the final component - Fixed xattr functions ignoring
noFollow - Fixed path resolution not requiring search permission on parent directories (#326)
- Added the
resolveFullWalkconfiguration 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
lstatnot requiring search permission on the parent directory (#326) - Fixed
mkdirandopennot requiring search permission on the parent directory when creating entries (#326) - Fixed
existsandexistsSyncthrowing onENOTDIRandEACCES(#326) - Fixed
onlySyncOnClosenot being marked as deprecated
Thanks to @mathiscode for all the help in #326!