mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-07-07 04:53:25 -05:00
Fix file permissions for RHEL 8.
This commit is contained in:
parent
a8f0f5bb4f
commit
f7eeefa3a9
|
@ -247,6 +247,12 @@ _copy_code() {
|
||||||
rm python && ln -s python3 python
|
rm python && ln -s python3 python
|
||||||
rm "python${PYTHON_VERSION}" && ln -s python3 "python${PYTHON_VERSION}"
|
rm "python${PYTHON_VERSION}" && ln -s python3 "python${PYTHON_VERSION}"
|
||||||
rm python3 && ln -s "${PYTHON_INTERPRETER}" python3
|
rm python3 && ln -s "${PYTHON_INTERPRETER}" python3
|
||||||
|
|
||||||
|
if [ "$2" == 'redhat' ] && [ "${OS_VERSION}" == "8" ]; then
|
||||||
|
chmod -R u+rwX,go+rX,go-w "${SERVERROOT}/usr/${APP_NAME}"
|
||||||
|
chmod -R u+rwX,go+rX,go-w "${DESKTOPROOT}/usr/${APP_NAME}"
|
||||||
|
chmod -R u+rwX,go+rX,go-w "${WEBROOT}/usr/${APP_NAME}"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user