In windows, the directories inside the C drive can be changed into writable manually by editing the security attributes of a directory providing full control to the user. How this can be done in Python?
My thinking was:
import os, stat
my_dir = 'C:\\Program Files\\Java'
os.chmod (my_dir, stat.S_IWRITE)
But no success.
Do anyone have idea?