Important: Please read the Qt Code of Conduct -

File permissions

  • hi ,
    why do i get for example :
    error: C2065: 'S_IWUSR' : undeclared identifier
    although i included :
    #include <sys/types.h> //Specified in man 2 open
    #include <sys/stat.h>
    #include <stdlib.h>
    #include <errno.h> //Allows use of error numbers
    #include <fcntl.h> //Specified in man 2 open
    #include <stdio.h>

    I'm using Qt Creator 3.1.2 to develop c++ programs . thanks .

  • This mean that only the owner (of the directory) has the write permission.

    Please change the directory and re-try.

Log in to reply