I have a strange issue with directory permissions.
From within a C++ app, I create a folder with:
mkdir( "foldername", 777 );
But I got into an issue when attempting to create a file in that folder,
errno told me
So I checked, and indeed, I had the following permissions on the folder that got created:
(The root folder has
I checked, and this unusual
t means "temporary", but I have no clue on what that means.
chmod 777 foldername from the shell does the job and sets attributes to
drwxrwxrwx, but I can't do it manually each time.
Question: any clue on what is going on ? Why doesn't my app correctly sets the folders attributes ? What is the meaning of this 'temporary' attribute ?
(system is Ubuntu 12.04)