I know how to create a folder with certain permissions like this:
import os
os.mkdir('test',0o550)
But what if I want to only assign access to specific groups or users?
Thanks in advance!
I know how to create a folder with certain permissions like this:
import os
os.mkdir('test',0o550)
But what if I want to only assign access to specific groups or users?
Thanks in advance!
Use os.chown() on the directory afterwords for unix/linux, for windows the win32security module of pywin32