Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Good morning everyone! I noticed that when I replace an image in my drupal site, I upload multimedia or similar files, these are obviously uploaded to some subdirectory of the files directory, and the group and user that owns these files is apache.
The problem is that I use disk quotas in my server centOS 7, and I can not apply restrictions to the user or group of apache since there will be multiple sites on my server (and I think it would be wrong to do so)
Is there a way to change who owns the new files that are generated in the / files directory?
I have few content types such as news, lead story, events. I want to show those content types in a single page (Front Page and some other pages and that pages may content some static HTML content) with some logic using twig template. As an example I want to show one randomly selected lead story and three news items in a single page. How can I achieve this.