mkdir_mode


Description:

[ Version ( since = "1.0.77" ) ]
public bool mkdir_mode (string path, int32 mode) throws Error

create a directory with a particular mode

This command creates a directory, setting the initial permissions of the directory to mode.

For common Linux filesystems, the actual mode which is set will be "mode & ~umask & 01777". Non-native-Linux filesystems may interpret the mode in other ways.

See also mkdir, umask

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error