Skip to content

fs: fix valid id range on chown, lchown, fchown

Rodrigo Muino Tomonari requested to merge github/fork/himself65/31673 into master

fix #31673 (closed)

related: http://man7.org/linux/man-pages/man2/chown.2.html

If the owner or group is specified as -1, then that ID is not changed.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading