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!"$ $