Don't do chmod -R when mounting secondary storage for vmware

It causes extreme long vm start time when managment server has slow connection to secondary storage
This commit is contained in:
Frank Zhang 2014-10-13 12:05:22 -07:00
parent e02c38246f
commit 49c01e2ae4
1 changed files with 1 additions and 1 deletions

View File

@ -778,7 +778,7 @@ public class VmwareManagerImpl extends ManagerBase implements VmwareManager, Vmw
// Change permissions for the mountpoint
script = new Script(true, "chmod", _timeout, s_logger);
script.add("-R", "777", mountPoint);
script.add("777", mountPoint);
result = script.execute();
if (result != null) {
s_logger.warn("Unable to set permissions for " + mountPoint + " due to " + result);