permission 600
Tatsuro MATSUOKA
tmacchant2@yahoo.co.jp
Sun Jan 9 05:28:08 GMT 2022
$ echo aaa > test.txt
$ ls -l test.txt
-rw-r--r-- 1 user user 4 Jan 9 14:07 test.txt
$ chmod 600 test.txt
$ ls -l test.txt
-rw-r--r-- 1 user user 4 Jan 9 14:07 test.txt
I noticed this phenomena in launching the jupyter lab.
File "/usr/lib/python3.8/site-packages/jupyter_core/paths.py", line 909, in secure_write
raise RuntimeError("Permissions assignment failed for secure file: '{file}'."
RuntimeError: Permissions assignment failed for secure file: '/home/user/.local/share/jupyter/runtime/jpserver-27580.json'. Got '0o644' instead of '0o0600'.
Workaround for the jupter lab error is
export JUPYTER_ALLOW_INSECURE_WRITES=true
Tatsuro
More information about the Cygwin
mailing list