Skip to content

Commit 42319fa

Browse files
Change chmod from 777 to 755 (#19141)
-- Changed chmod for the tasks from 777 to 755s -- Changed Tasks: ContainerBuildV0, ContainerStructureTestV0, DuffleInstallerV0, FuncToolsInstallerV0, OpenPolicyAgentInstallerV0
1 parent 9864b6c commit 42319fa

File tree

15 files changed

+17
-17
lines changed

15 files changed

+17
-17
lines changed

Tasks/ContainerBuildV0/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export async function downloadBuildctl(version: string): Promise<string> {
6565

6666
tl.debug('Buildctl path: ' + buildctlpath);
6767

68-
fs.chmodSync(buildctlpath, "777");
68+
fs.chmodSync(buildctlpath, "755");
6969
return buildctlpath;
7070
}
7171

Tasks/ContainerBuildV0/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 0,
16-
"Minor": 225,
16+
"Minor": 230,
1717
"Patch": 0
1818
},
1919
"demands": [],

Tasks/ContainerBuildV0/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 0,
16-
"Minor": 225,
16+
"Minor": 230,
1717
"Patch": 0
1818
},
1919
"demands": [],

Tasks/ContainerStructureTestV0/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 0,
16-
"Minor": 219,
16+
"Minor": 230,
1717
"Patch": 0
1818
},
1919
"preview": true,

Tasks/ContainerStructureTestV0/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 0,
16-
"Minor": 219,
16+
"Minor": 230,
1717
"Patch": 0
1818
},
1919
"preview": true,

Tasks/ContainerStructureTestV0/testrunner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class TestRunner {
3737
throw new Error(`Download or caching of tool(${runnerPath}) failed`);
3838
}
3939

40-
chmodSync(runnerPath, "777");
40+
chmodSync(runnerPath, "755");
4141
var start = new Date().getTime();
4242
const output: string = this.runContainerStructureTest(runnerPath, this.testFilePath, this.imageName);
4343
var end = new Date().getTime();

Tasks/DuffleInstallerV0/src/duffleinstaller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ async function downloadDuffle(version: string): Promise<string> {
3939
}
4040

4141
const dufflePath = path.join(cachedToolPath, DuffleToolName + getExecutableExtension());
42-
fs.chmodSync(dufflePath, '777');
42+
fs.chmodSync(dufflePath, '755');
4343
return dufflePath;
4444
}
4545

Tasks/DuffleInstallerV0/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"author": "Microsoft Corporation",
1313
"version": {
1414
"Major": 0,
15-
"Minor": 228,
15+
"Minor": 230,
1616
"Patch": 0
1717
},
1818
"demands": [],

Tasks/DuffleInstallerV0/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"author": "Microsoft Corporation",
1313
"version": {
1414
"Major": 0,
15-
"Minor": 228,
15+
"Minor": 230,
1616
"Patch": 0
1717
},
1818
"demands": [],

Tasks/FuncToolsInstallerV0/src/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ async function downloadFuncToolsInternal(version: string): Promise<string> {
7575
}
7676

7777
const funcPath = path.join(cachedToolpath, funcToolName + getExecutableExtension());
78-
fs.chmodSync(funcPath, '777');
78+
fs.chmodSync(funcPath, '755');
7979
const gozipPath = path.join(cachedToolpath, 'gozip' + getExecutableExtension());
8080
if (fs.existsSync(gozipPath)) {
81-
fs.chmodSync(gozipPath, '777');
81+
fs.chmodSync(gozipPath, '755');
8282
}
8383

8484
return funcPath;

0 commit comments

Comments
 (0)