fix gem permissions
Prior to this fix, some gems were installed with write permissions for the owner group and everyone. With this patch, write permissions are removed with chmod for all rubygems. Resolves: RHEL-7716
This commit is contained in:
parent
e2eed6c9b4
commit
1a3ffa6e01
4
pcs.spec
4
pcs.spec
@ -354,6 +354,10 @@ pwd
|
||||
|
||||
%make_install
|
||||
|
||||
# RHEL-7716 - fix rubygem permissions - remove write access for owner's group
|
||||
# and other users
|
||||
chmod --recursive g-w,o-w ${RPM_BUILD_ROOT}%{_libdir}/%{rubygem_bundle_dir}
|
||||
|
||||
# install pcs-web-ui
|
||||
cp -r %{_builddir}/%{ui_src_name}/build ${RPM_BUILD_ROOT}%{_libdir}/%{pcsd_public_dir}/ui
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user