You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lutimes, lchmod, and lchown silently fail if unavailable
The former should always be safe: the requested operation does happen, just not right away. The latter, however, may or may not be safe: some applications (installers, unarchivers) don't care about chown failures, but other applications (system scripts, backup tools) do care.
Please add some way to opt out of ignoring unrecoverable errors (perhaps by moving the error recovery part into a separate module that can be required by itself).
The text was updated successfully, but these errors were encountered:
Currently, graceful-fs does two things:
EMFILE
,EAGAIN
EACCES
andEPERM
on WindowsEINVAL
andEPERM
fromchown
,lchown
, andfchown
lutimes
,lchmod
, andlchown
silently fail if unavailableThe former should always be safe: the requested operation does happen, just not right away. The latter, however, may or may not be safe: some applications (installers, unarchivers) don't care about
chown
failures, but other applications (system scripts, backup tools) do care.Please add some way to opt out of ignoring unrecoverable errors (perhaps by moving the error recovery part into a separate module that can be
require
d by itself).The text was updated successfully, but these errors were encountered: