Tag: file-permissions

60 votes
17 answers
3.1K views
open() in Python does not create a file if it doesn't exist

What is the best way to open a file as read/write if it exists, or if it does not, then create it and open it

avatar
Benton
0 1 0 9
asked 07 September, 2021
55 votes
7 answers
968 views
Chmod 777 to a folder and all contents

I have a web directory /www and a folder in that directory called store. Within store are several f

avatar
Chelsea
0 1 0 9
asked 07 September, 2021