From a72333ab7626ba2fabd6a08d775a33992e0d265e Mon Sep 17 00:00:00 2001 From: miguel Date: Wed, 18 Jan 2023 15:48:23 +0000 Subject: [PATCH] fix(devops): fixing typos and changing perms in the exercise hard-perm --- sh/tests/hard-perm/0/.gitkeep | 0 sh/tests/hard-perm/A/.gitkeep | 0 sh/tests/hard-perm_test.sh | 2 +- subjects/devops/hard-perm/README.md | 2 +- subjects/devops/strange-files/README.md | 2 +- 5 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 sh/tests/hard-perm/0/.gitkeep create mode 100644 sh/tests/hard-perm/A/.gitkeep diff --git a/sh/tests/hard-perm/0/.gitkeep b/sh/tests/hard-perm/0/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/sh/tests/hard-perm/A/.gitkeep b/sh/tests/hard-perm/A/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/sh/tests/hard-perm_test.sh b/sh/tests/hard-perm_test.sh index a2c20ba3c..842c5d262 100755 --- a/sh/tests/hard-perm_test.sh +++ b/sh/tests/hard-perm_test.sh @@ -6,7 +6,7 @@ IFS=' ' script_dirS=$(cd -P "$(dirname "$BASH_SOURCE")" &>/dev/null && pwd) -chmod 303 hard-perm/* +chmod 776 hard-perm/* challenge() { submitted=$(bash "$script_dirS"/student/hard-perm.sh && ls -l "$1" | awk '{print $1}') diff --git a/subjects/devops/hard-perm/README.md b/subjects/devops/hard-perm/README.md index 1a43589c7..3533347fa 100644 --- a/subjects/devops/hard-perm/README.md +++ b/subjects/devops/hard-perm/README.md @@ -2,7 +2,7 @@ ### Instructions -Create a file `hard-perm.sh`, which will change the default permissions for the files and folders inside the folder `hard-perms`, to the ones bellow: +Create a file `hard-perm.sh`, which will change the default permissions for the files and folders inside the folder `hard-perm`, to the ones bellow: Right now the folder looks like this: diff --git a/subjects/devops/strange-files/README.md b/subjects/devops/strange-files/README.md index b853530a6..1c8f260a8 100644 --- a/subjects/devops/strange-files/README.md +++ b/subjects/devops/strange-files/README.md @@ -12,7 +12,7 @@ Create the following files: ```console $ ls | cat -e -"?$*'First_file'*$?\"$ +"?$*'Hard_file'*$?\"$ firstFile$ "medium_file!"$ $