fs: undeprecate lchown()
uv_fs_lchown()
exists, as of libuv 1.21.0. fs.lchown()
can now be undeprecated. This commit also adds tests, as there were none. As with fs.chown()
and fs.fchown()
, the tests are somewhat limited.
Fixes: https://github.com/nodejs/node/issues/19868
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines