Enhancement #1734

httpd: grant read access on filesystem to Apache

Added by Davide Principi over 8 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:03/15/2013
Priority:NormalDue date:03/15/2013
Assignee:-% Done:

100%

Category:nethserver-httpd
Target version:v6.4-alpha2
Resolution: NEEDINFO:

Description

When web-access is enabled on an IBay, apache is missing filesystem read permissions if Allow read permission to everyone checkbox is unset. Only a warning message is reported on /var/log/messages:

Mar 14 18:21:19 davidep2 esmith::event[8937]: WARNING in /etc/.../httpd.conf/01ibays_configure: [WARNING] Missing read permssion on ibay shared3#012

Add a POSIX ACL for the apache system user that grants read access on the entire ibay when HttpStatus=enabled.


Related issues

Related to NethServer 6 - Feature #1891: Ibays: ACLs template for system users and groups CLOSED 04/18/2013 04/18/2013
Blocked by NethServer 6 - Feature #1736: Ibays: allow setting ACLs for system users and groups CLOSED 03/15/2013 03/15/2013

Associated revisions

Revision 570c5fb9
Added by Davide Principi over 8 years ago

ibay-{create,modify} event: added nethserver-httpd-setibayacl action that grant apache read permissions if web access is enabled. Refs #1734

Revision a644d3e0
Added by Davide Principi over 8 years ago

ibay-reset-permissions event: added nethserver-httpd-setibayacl action. Refs #1734

Revision 37090366
Added by Davide Principi over 8 years ago

Extend ibays/system-acls template to configure apache permissions. Refs #1734, #1891

History

#1 Updated by Davide Principi over 8 years ago

  • Due date set to 03/15/2013
  • Status changed from NEW to ON_DEV
  • Start date set to 03/15/2013
  • % Done changed from 0 to 10

#2 Updated by Davide Principi over 8 years ago

  • Estimated time changed from 3.00 to 1.00

#3 Updated by Davide Principi over 8 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 10 to 100

#4 Updated by Davide Principi over 8 years ago

  • Status changed from MODIFIED to CLOSED

#5 Updated by Davide Principi over 8 years ago

State set to closed on NethServer 6.4 alpha2 release

Also available in: Atom PDF