Skip to content

fs.chmod documentation 8.x & 9.x : The value of "mode" is not an "integer" #1545

Description

@warlock

https://nodejs.org/dist/latest-v8.x/docs/api/fs.html#fs_fs_chmod_path_mode_callback
https://nodejs.org/dist/latest-v9.x/docs/api/fs.html#fs_fs_chmod_path_mode_callback

The "mode" value on the web is a "whole number". But sometimes you need an "octal". "number is the correct type in javascript.

Thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions