Skip to content

Commit f10d008

Browse files
fixed permission matching logic
1 parent 0923673 commit f10d008

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

OracleIdentityGovernance/samples/scripts/agentManagement.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ isWriteAccessOnVolume()
365365
{
366366
# shellcheck disable=SC2012
367367
permissions=$(ls -ld "$PV" | awk '{print $1}')
368+
# shellcheck disable=SC3057
368369
perms="${permissions:0:10}"
369370
if [ "$perms" != "drwxrwxr-x" ] && [ "$perms" != "drwxrwxrwx" ]; then
370371
echo "ERROR: Volume does not have required permissions. Make sure to have 775"

0 commit comments

Comments
 (0)