Hi everyone,
I would like to set the permission when using
When I do a
I would like to set the permission when using
from os import makedirsI would like to have (for a directory) d-rwx-r-r (in other for "others") to be able to read the files inside that folder.
When I do a
stat
on a folder that have the permission that I want I get Output:(0755/drwxr-xr-x)
When I transpose this in python -->makedirs('/somewhere', mode=0o0755)The created folder give me another permission than expected..
Output:(0750/drwxr-x---)
Any ideas ?