Author Topic: /var/www/html/webmail/temp/: NOT OK but Logs is  (Read 358 times)

Offline SenatorOTT

  • Newbie
  • *
  • Posts: 1
/var/www/html/webmail/temp/: NOT OK but Logs is
« on: August 03, 2020, 06:44:34 PM »
Im confused. Ive ran the same commands for both, yet temp is not ok and logs is.

I ran:
chown apache /var/www/html/webmail/temp

chown apache /var/www/html/webmail/logs

and

semanage fcontext -a -t httpd_log_t '/var/www/html/webmail/temp(/.*)?'

semanage fcontext -a -t httpd_log_t '/var/www/html/webmail/logs(/.*)?'

to get past selinux.

No idea why temp is not working.

Any ideas? Im just beginner so be easy on me if theres something obvious I'm missing haha