getting a directory's permissions and creating a new one with the same permissions
i am very new in programming in linux and i am a bit confused. I am trying to get the permissions of an existing directory and creating a new one with the same permissions.
I manage to get the the existing directory's permissions but how can i use the output in mode_t mode to create the new directory?
|