Python mkdir giving me wrong permissions

前端 未结 4 1283
感情败类
感情败类 2021-01-11 17:14

I\'m trying to create a folder and create a file within it.

Whenever i create that folder (via Python), it creates a folder that gives me no permissions at all and r

4条回答
  •  迷失自我
    2021-01-11 18:00

    Since your on Windows, this might be a crapshoot. Make sure there aren't any wacky special permissions on the parent directory or with the policy settings that defines the permissions any directories created by your account get. I doubt this is a python problem as I haven't been able to recreate the problem on Windows with a relatively vanilla Vista install.

提交回复
热议问题