Print this page
9842 man page typos and spelling


 138        EPERM
 139                 The effective user ID does not match the owner of the file and
 140                 the process does not have appropriate privilege.
 141 
 142                 The {PRIV_FILE_OWNER} privilege overrides constraints on
 143                 ownership when changing permissions on a file.
 144 
 145                 The {PRIV_FILE_SETID} privilege overrides constraints on
 146                 ownership when adding the setuid or setgid bits to an
 147                 executable file or a directory.  When adding the setuid bit to
 148                 a root owned executable, additional restrictions apply. See
 149                 privileges(5).
 150 
 151 
 152 
 153        The chmod() and fchmodat() functions will fail if:
 154 
 155        EACCES
 156                        Search permission is denied on a component of the path
 157                        prefix of path and for fchmodat(), filedes was not
 158                        opened with O_SEARCH requsted.  The privilege
 159                        {FILE_DAC_SEARCH} overrides file permissions
 160                        restrictions in that case.
 161 
 162 
 163        EFAULT
 164                        The path argument points to an illegal address.
 165 
 166 
 167        ELOOP
 168                        A loop exists in symbolic links encountered during the
 169                        resolution of the path argument.
 170 
 171 
 172        ENAMETOOLONG
 173                        The length of the path argument exceeds PATH_MAX, or
 174                        the length of a path component exceeds NAME_MAX while
 175                        _POSIX_NO_TRUNC is in effect.
 176 
 177 
 178        ENOENT




 138        EPERM
 139                 The effective user ID does not match the owner of the file and
 140                 the process does not have appropriate privilege.
 141 
 142                 The {PRIV_FILE_OWNER} privilege overrides constraints on
 143                 ownership when changing permissions on a file.
 144 
 145                 The {PRIV_FILE_SETID} privilege overrides constraints on
 146                 ownership when adding the setuid or setgid bits to an
 147                 executable file or a directory.  When adding the setuid bit to
 148                 a root owned executable, additional restrictions apply. See
 149                 privileges(5).
 150 
 151 
 152 
 153        The chmod() and fchmodat() functions will fail if:
 154 
 155        EACCES
 156                        Search permission is denied on a component of the path
 157                        prefix of path and for fchmodat(), filedes was not
 158                        opened with O_SEARCH requested.  The privilege
 159                        {FILE_DAC_SEARCH} overrides file permissions
 160                        restrictions in that case.
 161 
 162 
 163        EFAULT
 164                        The path argument points to an illegal address.
 165 
 166 
 167        ELOOP
 168                        A loop exists in symbolic links encountered during the
 169                        resolution of the path argument.
 170 
 171 
 172        ENAMETOOLONG
 173                        The length of the path argument exceeds PATH_MAX, or
 174                        the length of a path component exceeds NAME_MAX while
 175                        _POSIX_NO_TRUNC is in effect.
 176 
 177 
 178        ENOENT