Browse Source

fix(devops): fixing typos and changing perms in the exercise hard-perm

pull/1739/head
miguel 2 years ago committed by MSilva95
parent
commit
a72333ab76
  1. 0
      sh/tests/hard-perm/0/.gitkeep
  2. 0
      sh/tests/hard-perm/A/.gitkeep
  3. 2
      sh/tests/hard-perm_test.sh
  4. 2
      subjects/devops/hard-perm/README.md
  5. 2
      subjects/devops/strange-files/README.md

2
sh/tests/hard-perm_test.sh

@ -6,7 +6,7 @@ IFS='
' '
script_dirS=$(cd -P "$(dirname "$BASH_SOURCE")" &>/dev/null && pwd) script_dirS=$(cd -P "$(dirname "$BASH_SOURCE")" &>/dev/null && pwd)
chmod 303 hard-perm/* chmod 776 hard-perm/*
challenge() { challenge() {
submitted=$(bash "$script_dirS"/student/hard-perm.sh && ls -l "$1" | awk '{print $1}') submitted=$(bash "$script_dirS"/student/hard-perm.sh && ls -l "$1" | awk '{print $1}')

2
subjects/devops/hard-perm/README.md

@ -2,7 +2,7 @@
### Instructions ### 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: Right now the folder looks like this:

2
subjects/devops/strange-files/README.md

@ -12,7 +12,7 @@ Create the following files:
```console ```console
$ ls | cat -e $ ls | cat -e
"?$*'First_file'*$?\"$ "?$*'Hard_file'*$?\"$
firstFile$ firstFile$
"medium_file!"$ "medium_file!"$
$ $

Loading…
Cancel
Save