Checking if the install directory is writtable and readable
This commit is contained in:
parent
95b2386148
commit
63bff4b94b
4
docs.org
4
docs.org
@ -201,8 +201,8 @@ if [ ! -d "$install_directory" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -w "$install_directory" ]; then
|
if [ ! -w "$install_directory" ] || [ ! -r "$install_directory" ]; then
|
||||||
send_error_message "The directory \"$install_directory\" is not writtable by the current user. Set the correct permissions or try a different directory" ❌
|
send_error_message "The directory \"$install_directory\" is not writable or readable by the current user. Set the correct permissions or try a different directory" ❌
|
||||||
fi
|
fi
|
||||||
|
|
||||||
filename="$install_directory/docker-compose.yaml"
|
filename="$install_directory/docker-compose.yaml"
|
||||||
|
@ -95,8 +95,8 @@ if [ ! -d "$install_directory" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -w "$install_directory" ]; then
|
if [ ! -w "$install_directory" ] || [ ! -r "$install_directory" ]; then
|
||||||
send_error_message "The directory \"$install_directory\" is not writtable by the current user. Set the correct permissions or try a different directory" ❌
|
send_error_message "The directory \"$install_directory\" is not writable or readable by the current user. Set the correct permissions or try a different directory" ❌
|
||||||
fi
|
fi
|
||||||
|
|
||||||
filename="$install_directory/docker-compose.yaml"
|
filename="$install_directory/docker-compose.yaml"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user