Portál AbcLinuxu, 21. prosince 2025 23:51
man 3 exec .
CHMOD(2) Linux Programmer’s Manual CHMOD(2)
NAME
chmod, fchmod - change permissions of a file
SYNOPSIS
#include < sys/types.h >
#include < sys/stat.h >
int chmod(const char *path, mode_t mode);
int fchmod(int fildes, mode_t mode);
DESCRIPTION
The mode of the file given by path or referenced by fildes is changed.
Modes are specified by or’ing the following:
S_ISUID 04000 set user ID on execution
S_ISGID 02000 set group ID on execution
atd........
Viz man 2 chmod
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.