Kaynağa Gözat

Merge pull request #444 from smeda/bug86651

BUG: 86651 Set permissions correctly when doing a SSH deploy via ConfigEnv

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 13 yıl önce
ebeveyn
işleme
b4b53ee66d
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      deployment/deploy/DeployTask.cpp

+ 1 - 1
deployment/deploy/DeployTask.cpp

@@ -661,7 +661,7 @@ public:
              try
              try
              {
              {
                StringBuffer cmd;
                StringBuffer cmd;
-               cmd.clear().appendf("chmod 744 %s", destpath.str());
+               cmd.clear().appendf("chmod -R 744 %s", destpath.str());
                task->execSSHCmd(ip.str(), cmd, outbuf, errbuf);
                task->execSSHCmd(ip.str(), cmd, outbuf, errbuf);
              }
              }
              catch(IException* e)
              catch(IException* e)