Gossamer Forum
Home : Products : DBMan : Installation :

Re: [LoisC] SELinux prevented reading and writing access to dbman files.

Quote Reply
Re: [LoisC] SELinux prevented reading and writing access to dbman files. In reply to
SmileSmileSmileProblem fixed:SmileSmileSmile

For others having the same SELinux problems with dbman run the following commands to allow access

chcon system_u:object_r:httpd_sys_script_ro_t:s0 db.cgi
chcon system_u:object_r:httpd_sys_script_ro_t:s0 html.pl
chcon system_u:object_r:httpd_sys_script_ro_t:s0 auth.pl
chcon system_u:object_r:httpd_sys_script_ro_t:s0 default.cfg
chcon system_u:object_r:httpd_sys_script_rw_t:s0 default.pass
chcon system_u:object_r:httpd_sys_script_rw_t:s0 default.count
chcon system_u:object_r:httpd_sys_script_rw_t:s0 default.log
chcon system_u:object_r:httpd_sys_script_rw_t:s0 default.db
chcon system_u:object_r:httpd_sys_script_rw_t:s0 auth
chcon system_u:object_r:httpd_sys_script_rw_t:s0 index.html

Sorry I'm a bit new to SELinux. After reading the SELinux message a bit closer and analyzing what it actually says I realized where I made a mistake.
I hope this helps others in the future.

Andy
Smile
Subject Author Views Date
Thread SELinux prevented reading and writing access to dbman files. lolths 12434 Sep 12, 2008, 3:30 AM
Thread Re: [lolths] SELinux prevented reading and writing access to dbman files.
LoisC 12222 Sep 12, 2008, 8:16 AM
Post Re: [LoisC] SELinux prevented reading and writing access to dbman files.
lolths 12297 Sep 14, 2008, 3:06 AM