Skip to content

Commit

Permalink
Ensured permissions for htdocs/application/cache
Browse files Browse the repository at this point in the history
Ticket: ENT-11442
Signed-off-by: Ihor Aleksandrychiev <[email protected]>
  • Loading branch information
aleksandrychev authored and nickanderson committed Jun 24, 2024
1 parent 8c8659c commit 6d4c3f3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cfe_internal/enterprise/CFE_knowledge.cf
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@ bundle agent cfe_internal_setup_knowledge
file_select => dirs,
perms => mog("0550", "root", $(def.cf_apache_group) );

"$(cfe_internal_hub_vars.docroot)/application/cache/." -> { "ENT-11442" }
handle => "cfe_internal_setup_knowledge_files_doc_root_application_cache",
create => "true",
perms => mog("0770", $(def.cf_apache_user), $(def.cf_apache_group)),
comment => "This is where cache generated by Mission Portal is stored.";

"$(cfe_internal_hub_vars.docroot)/api/." -> { "ENT-4250" }
comment => "The api directory and it's subdirectories need to be
Expand Down Expand Up @@ -673,7 +678,7 @@ body file_select cfe_internal_docroot_api_static_async_query_status_status_perms
body depth_search cfe_internal_docroot_application_perms
{
depth => "inf";
exclude_dirs => { "logs" };
exclude_dirs => { "logs", "cache" };
}

############################################################################
Expand Down

0 comments on commit 6d4c3f3

Please sign in to comment.