Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

fix chmod bug #2689

Merged
merged 2 commits into from
Jul 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ class RemoteMachineTrainingService implements TrainingService {

// clean up previous result.
await executor.createFolder(remoteGpuScriptCollectorDir, true);
await executor.allowPermission(false, nniRootDir, `${nniRootDir}/*`, `${nniRootDir}/scripts/*`);
await executor.allowPermission(true, nniRootDir);

//Begin to execute gpu_metrics_collection scripts
const script = executor.generateGpuStatsScript(getExperimentId());
Expand Down