Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method Pipe.prototype.fchmod
import { Pipe } from "https://deno.land/std@0.150.0/node/internal_binding/pipe_wrap.ts";

Alters pipe permissions, allowing it to be accessed from processes run by different users. Makes the pipe writable or readable by all users. Mode can be UV_WRITABLE, UV_READABLE or UV_WRITABLE | UV_READABLE. This function is blocking.

Parameters

mode: number

Pipe permissions mode.