css folder permision changed automaticaly apache:apache when user upload css files

We have hosted sites running in Drupal version 7.59 and site content publicly uploaded with apache user inside ctools/css directory.

Default file permison for ctools/css directory is 755 and user and group owner is apache:root, the problem is when the user uploaded .css files into css directory , the permision is automaticaly changing to group and owner permison apache:apache and we did not find the solution to fix the issue who is changing the permision and where to set default its should be apache:root in drupal. Please help me this issue.

Comments

msankar.ravi1985 created an issue. See original summary.

raghwendra’s picture

is there any particular reason uploading css file in ctools/css directory from user? why are user not uploading drupal default files system directory?

avpaderno’s picture

Issue tags: -css folder permision changed automaticaly apache:apache when user upload css files

Status: Active » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.