Make sure the wsgi script dir mode is 0755
When the system-wide umask setting is more restrictive than the
default setting, the wsgi script directory permissions may not allow
the apache process to access them, resulting in errors.
A similar fix was applied to Keystone some time ago, see [1].
[1] - 4f15fb64b1
Change-Id: Ie9769657dc530bc895a3119b3e458864a8b5f293
This commit is contained in:
@@ -252,6 +252,7 @@ define openstacklib::wsgi::apache (
|
|||||||
ensure => directory,
|
ensure => directory,
|
||||||
owner => $user,
|
owner => $user,
|
||||||
group => $group,
|
group => $group,
|
||||||
|
mode => '0755',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -54,6 +54,7 @@ describe 'openstacklib::wsgi::apache' do
|
|||||||
'ensure' => 'directory',
|
'ensure' => 'directory',
|
||||||
'owner' => 'keystone',
|
'owner' => 'keystone',
|
||||||
'group' => 'keystone',
|
'group' => 'keystone',
|
||||||
|
'mode' => '0755',
|
||||||
)}
|
)}
|
||||||
|
|
||||||
it { is_expected.to contain_file('keystone_wsgi').with(
|
it { is_expected.to contain_file('keystone_wsgi').with(
|
||||||
|
Reference in New Issue
Block a user