chmod

NAME

chmod - changes the permissions on a list of files


SYNOPSIS

chmod LIST


DESCRIPTION

Changes the permissions of a list of files. The first element of the list must be the numerical mode, which should probably be an octal number. Returns the number of files successfully changed.

$cnt = chmod 0755, 'foo', 'bar'; chmod 0755, @executables;