Skip to content

Commit 9aaf7da

Browse files
committed
chmod recursive
1 parent 46fb69f commit 9aaf7da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/BaseTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public static void initialize(String appPropsFile) throws Exception {
189189
if (System.getenv("JENKINS") == null) {
190190
logger.info("Creating PVROOT " + pvRoot);
191191
Files.createDirectories(Paths.get(pvRoot));
192-
ExecResult result = ExecCommand.exec("chmod 777 " + pvRoot);
192+
ExecResult result = ExecCommand.exec("chmod -R 777 " + pvRoot);
193193
if (result.exitValue() != 0) {
194194
throw new RuntimeException(
195195
"FAILURE: Couldn't change permissions for PVROOT " + result.stderr());

src/integration-tests/bash/cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ script="${BASH_SOURCE[0]}"
311311
scriptDir="$( cd "$(dirname "${script}")" > /dev/null 2>&1 ; pwd -P)"
312312
source $PROJECT_ROOT/kubernetes/internal/utility.sh
313313

314-
echo "@@ RESULT_ROOT=$RESULT_ROOT TMP_DIR=$TMP_DIR RESULT_DIR=$RESULT_DIR PROJECT_ROOT=$PROJECT_ROOT"
314+
echo "@@ RESULT_ROOT=$RESULT_ROOT TMP_DIR=$TMP_DIR RESULT_DIR=$RESULT_DIR PROJECT_ROOT=$PROJECT_ROOT PV_ROOT=$PV_ROOT"
315315

316316
mkdir -p $TMP_DIR || fail No permision to create directory $TMP_DIR
317317

0 commit comments

Comments
 (0)