protect data dir by default
parent
d91480104b
commit
b305380447
|
@ -18,6 +18,8 @@
|
|||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
'''
|
||||
import os
|
||||
import stat
|
||||
|
||||
from . import identifyhome
|
||||
import filepaths
|
||||
home = identifyhome.identify_home()
|
||||
|
@ -33,6 +35,8 @@ def create_dirs():
|
|||
if not os.path.exists(path):
|
||||
os.mkdir(path)
|
||||
|
||||
os.chmod(home, stat.S_IRWXU)
|
||||
|
||||
from onionrsetup import dbcreator
|
||||
|
||||
for db in dbcreator.create_funcs:
|
||||
|
|
|
@ -1 +1 @@
|
|||
1580852476
|
||||
1580856998
|
Loading…
Reference in New Issue