Christian Frommeyer schrieb:
Am Mittwoch 26 April 2006 21:15 schrieb Richard Mittendorfer:Welche Version der manpages ist denn das? Oder mensch braucht manpages-dev. $ man umaskUMASK(2) Linux Programmer's Manual UMASK(2)NAME umask - set file mode creation mask SYNOPSIS #include <sys/types.h> #include <sys/stat.h> mode_t umask(mode_t mask); DESCRIPTION umask() sets the calling process's file mode creation mask (umask) to mask & 0777.Das ist die man-page für eine C-Funktion. Die wird dem OP wohl eher nicht helfen. Der umask Befehl gehört zur bash und ist deshalb in man bash beschrieben.Gruß Chris
Hallo Chris,also egal, wo ich das aufrufe, in fast allen Fällen gibt es auch einen entsprechenden Programmaufruf aus der jeweiligen Shell.
Gelegentlich findet man auch Umgebungsvariablen, z.B. UMASK=022. Gruß ; Michael umask -- KornShell Built-in ----------------------------------------------------------------------------- NAME umask --get or set the file mode creation mask ---------------------------------------------------------------------------- SYNOPSIS umask [-S] [mode] ---------------------------------------------------------------------------- DESCRIPTIONumask sets the file mode creation mask of the invoking process to the given mode. You can specify the mode in any of the formats recognized by chmod;
see chmod for more information.