Digital UNIX Diffs - chmod(5) Digital UNIX Diffs - chmod(5)NAME
chmod, umask - Changes file access permissions
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <sys/mode.h>
#include <sys/types.h>
#include <sys/stat.h>
int chmod (
const char *path,
mode_t mode );
mode_t umask (
mode_t cmask );
PARAMETERS
Specifies the full pathname of the file. Specifies the bit pattern
which determines the access permissions. Specifies the value of the
file mode creation mask.
DIFFERENCESvms-files(5): OpenVMS File System Differences
The syntax of filename path are different on UNIX and OpenVMS.
Setting mode to 0777 on OpenVMS results in the default OpenVMS file
protections being used provided that you have not defined a default
mask using umask(2). This feature is not available on UNIX.
vms-system(5): OpenVMS Operating System Differences
The range of values for mode and cmask supported by OpenVMS is a subset
of the values supported on UNIX. OpenVMS is restricted to setting
read, write and execute permission for owner, group and world.
RELATED INFORMATION
Functions: chmod(2), umask(2)CATEGORY INDEXvms-files(5),vms-system(5)
delim off
Digital UNIX Diffs - chmod(5)