Skip to content

ensure scp destination directories exist (with mkdir -p)#4977

Merged
ellisonbg merged 2 commits into
ipython:masterfrom
minrk:scp-mkdir-p
Feb 9, 2014
Merged

ensure scp destination directories exist (with mkdir -p)#4977
ellisonbg merged 2 commits into
ipython:masterfrom
minrk:scp-mkdir-p

Conversation

@minrk
Copy link
Copy Markdown
Member

@minrk minrk commented Feb 1, 2014

in SSH launchers.

As described in #3411

closes #3411

@takluyver
Copy link
Copy Markdown
Member

I think there is os.path.makedirs() for the local case.

@minrk
Copy link
Copy Markdown
Member Author

minrk commented Feb 1, 2014

Right, uses os.makedirs for the local case now.

Comment thread IPython/parallel/apps/launcher.py Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only now I look at the docs, I see directories are created in mode 777 (world writable) by default. I'm not sure what files might be fetched, but I guess we might want something like 775.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ellisonbg ellisonbg added this to the 2.0 milestone Feb 5, 2014
@ellisonbg
Copy link
Copy Markdown
Member

After the dir permissions are changed will this one be ready for merging?

@minrk
Copy link
Copy Markdown
Member Author

minrk commented Feb 9, 2014

permissions changed

@ellisonbg
Copy link
Copy Markdown
Member

Looks good, merging.

ellisonbg added a commit that referenced this pull request Feb 9, 2014
ensure scp destination directories exist (with mkdir -p)
@ellisonbg ellisonbg merged commit d522a1b into ipython:master Feb 9, 2014
@minrk minrk deleted the scp-mkdir-p branch March 31, 2014 23:36
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
ensure scp destination directories exist (with mkdir -p)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ipython parallel: scp failure.

3 participants