Why does permission of my /var/lib/php/session directory reset after update ?

Solution Unverified - Updated -

Issue

  • Why does permission of my /var/lib/php/session directory reset after update ?

The user set owner groups and permission of /var/lib/php/session as follow:

drwxrwxr-x. 2 root group 4096  <TIMESTAMP> /var/lib/php/session/

After update php package, they found that permission was reset as follow:

drwxrwx---. 2 root apache 4096  <TIMESTAMP> /var/lib/php/session/

Is this expected behaviour ?

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 6.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content