Method description:
Synchronized version of fchmod().
Syntax:
fs.fchmodSync(fd, mode)
Since this method belongs to the fs module, you need to introduce the fs module before use (var fs= require(“fs”) )
Receive parameters:
fd File descriptor
mode File permissions
Source code:
fs.fchmodSync = function(fd, mode) { return binding.fchmod(fd, modeNum(mode)); };
The above is fs in node.js .fchmodSync method usage instructions, please pay attention to the PHP Chinese website (m.sbmmt.com) for more related content!