filehandle.chmod(mode)


    修改文件的权限。 参见 chmod(2)

    • mode <integer> the file mode bit mask.
    • Returns: <Promise> Fulfills with undefined upon success.

    Modifies the permissions on the file. See chmod(2).