File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2896,7 +2896,7 @@ const promises = {
2896
2896
if ( constants . O_SYMLINK !== undefined ) {
2897
2897
const fd = await promises . open ( path ,
2898
2898
constants . O_WRONLY | constants . O_SYMLINK ) ;
2899
- return promises . fschmod ( fd , mode ) . finally ( fd . close . bind ( fd ) ) ;
2899
+ return promises . fchmod ( fd , mode ) . finally ( fd . close . bind ( fd ) ) ;
2900
2900
}
2901
2901
throw new errors . Error ( 'ERR_METHOD_NOT_IMPLEMENTED' ) ;
2902
2902
} ,
@@ -2905,7 +2905,7 @@ const promises = {
2905
2905
if ( constants . O_SYMLINK !== undefined ) {
2906
2906
const fd = await promises . open ( path ,
2907
2907
constants . O_WRONLY | constants . O_SYMLINK ) ;
2908
- return promises . fschmod ( fd , uid , gid ) . finally ( fd . close . bind ( fd ) ) ;
2908
+ return promises . fchown ( fd , uid , gid ) . finally ( fd . close . bind ( fd ) ) ;
2909
2909
}
2910
2910
throw new errors . Error ( 'ERR_METHOD_NOT_IMPLEMENTED' ) ;
2911
2911
} ,
You can’t perform that action at this time.
0 commit comments