Skip to content

Commit

Permalink
Fix SELinux permission issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshmahajan-1903 authored and khushboovashi committed Nov 5, 2024
1 parent 44dc78f commit f5f79a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/linux/setup-web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ fi
# Set SELinux up:
if [ ${IS_REDHAT} == 1 ]; then
echo "Configuring SELinux..."
setsebool -P httpd_tmp_exec 1 1> /dev/null
setsebool -P httpd_can_network_connect 1 1> /dev/null
setsebool -P httpd_can_network_connect_db 1 1> /dev/null
semanage fcontext -a -t httpd_var_lib_t '/var/lib/pgadmin(/.*)?' 1> /dev/null
Expand Down

0 comments on commit f5f79a5

Please sign in to comment.