mirror of https://github.com/CGAL/cgal
replace the 0707 permissions by 0777
This commit is contained in:
parent
149c7a4afc
commit
157348045b
|
|
@ -182,7 +182,7 @@ bool push_file(ssh_session &session,
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
//push a file to /tmp
|
//push a file to /tmp
|
||||||
res = ssh_scp_push_directory(scp, ".", 0707);
|
res = ssh_scp_push_directory(scp, ".", 0777);
|
||||||
if (res != SSH_OK)
|
if (res != SSH_OK)
|
||||||
{
|
{
|
||||||
std::cerr<<"Can't create remote directory: %s\n"
|
std::cerr<<"Can't create remote directory: %s\n"
|
||||||
|
|
@ -191,7 +191,7 @@ bool push_file(ssh_session &session,
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
res = ssh_scp_push_file
|
res = ssh_scp_push_file
|
||||||
(scp, dest_path, size, 0707);
|
(scp, dest_path, size, 0777);
|
||||||
if (res != SSH_OK)
|
if (res != SSH_OK)
|
||||||
{
|
{
|
||||||
std::cerr<< "Can't open remote file: %s\n"
|
std::cerr<< "Can't open remote file: %s\n"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue