forked from qt-creator/qt-creator
Maemo: Fix access rights for remote .ssh directory.
Task-number: QTCREATORBUG-1673
This commit is contained in:
@@ -355,7 +355,8 @@ void MaemoSettingsWidget::deployKey()
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_ui->deployKeyButton->disconnect();
|
m_ui->deployKeyButton->disconnect();
|
||||||
const QString command = QLatin1String("test -d .ssh || mkdir .ssh && echo '")
|
const QString command = QLatin1String("test -d .ssh "
|
||||||
|
"|| mkdir .ssh && chmod 0700 .ssh && echo '")
|
||||||
+ key + QLatin1String("' >> .ssh/authorized_keys");
|
+ key + QLatin1String("' >> .ssh/authorized_keys");
|
||||||
m_keyDeployer = new MaemoSshRunner(currentConfig().server, command);
|
m_keyDeployer = new MaemoSshRunner(currentConfig().server, command);
|
||||||
connect(m_keyDeployer, SIGNAL(finished()),
|
connect(m_keyDeployer, SIGNAL(finished()),
|
||||||
|
|||||||
Reference in New Issue
Block a user