Skip to content

Commit

Permalink
fixed linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmaygarg-oracle committed Jun 26, 2023
1 parent 967dc32 commit 6cc3ebd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ hasDockerPermissions()

isWriteAccessOnVolume()
{
# shellcheck disable=SC2012
permissions=$(ls -ld "$PV" | awk '{print $1}')
if [ "$permissions" != "drwxrwxr-x" ] && [ "$permissions" != "drwxrwxrwx" ] && [ "$permissions" != "drwxrwxr-x." ] && [ "$permissions" != "drwxrwxrwx." ]; then
echo "ERROR: Volume does not have required permissions. Make sure to have 775"
Expand Down

0 comments on commit 6cc3ebd

Please sign in to comment.