mirror of https://github.com/apache/cloudstack.git
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:
parent
e02c38246f
commit
49c01e2ae4
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue