Skip to content

Commit

Permalink
Create app_root/public/upload directory
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Aug 2, 2021
1 parent a626067 commit 6f2c03b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions rpm_spec/manageiq.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ cd %{_builddir}
%{__mkdir} -p %{buildroot}%{app_root}/tmp/{,sockets,pids}
%{__mkdir} -p %{buildroot}%{app_root}/{certs,config}
%{__mkdir} -p %{buildroot}%{app_root}/public/pictures
%{__mkdir} -p %{buildroot}%{app_root}/public/upload
%{__chmod} 4750 %{buildroot}%{app_root}/{log,config,certs}
%{__chmod} 700 %{buildroot}%{app_root}/tmp/{,pids,sockets}
%{__chmod} 755 %{buildroot}%{app_root}/public/pictures
Expand Down
2 changes: 2 additions & 0 deletions rpm_spec/subpackages/manageiq-ui
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ Requires: mod_ssl
%files ui
%defattr(-,root,root,-)
%attr(-,manageiq,manageiq) %{app_root}/public/pictures
%attr(-,manageiq,manageiq) %{app_root}/public/upload
%{app_root}/public/pictures
%{app_root}/public/upload
%{app_root}/public/assets
%{app_root}/public/packs
%{app_root}/public/ui
Expand Down

0 comments on commit 6f2c03b

Please sign in to comment.