File permissions



  • hi ,
    why do i get for example :
    [quote]
    error: C2065: 'S_IWUSR' : undeclared identifier
    [/quote]
    although i included :
    [quote]
    #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>
    [/quote]

    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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.