currently I use the function mkdir(const char* name,mode_t) to create a file-forder on MAC OS, it can create the folder in success. but When I double click the folder been created before to open it, MAC OS will prompt a messagebox which says I have no enough permission to see its content.
I've tried several times with the mode_t is 777,666,ect. the same result appears.
the path I want to create is /Users/$current_user/Document
any idea?
I've tried several times with the mode_t is 777,666,ect. the same result appears.
the path I want to create is /Users/$current_user/Document
any idea?