Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fea5b1f

Browse filesBrowse files
committed
create debugger tmp directory with 0o700 permissions
1 parent 821f6c0 commit fea5b1f
Copy full SHA for fea5b1f

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎ipykernel/debugger.py‎

Copy file name to clipboardExpand all lines: ipykernel/debugger.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ def start(self):
426426
if not self.debugpy_initialized:
427427
tmp_dir = get_tmp_directory()
428428
if not Path(tmp_dir).exists():
429-
Path(tmp_dir).mkdir(parents=True)
429+
Path(tmp_dir).mkdir(mode=0o700, parents=True)
430430
host, port = self.debugpy_client.get_host_port()
431431
code = "import debugpy;"
432432
code += 'debugpy.listen(("' + host + '",' + port + "))"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.