Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This module ignores the file_chmod_directory and file_chmod_file variables. In our setup this will cause an error with the sticky-bit. I think this module should use drupal_chmod() and drupal_mkdir() instead of the normal mkdir/chmod methods. Patch will be in the comments.
Comment | File | Size | Author |
---|---|---|---|
#2 | file_permissions_invalid-2886765-2.patch | 1.34 KB | SpaghettiBolognese |
Comments
Comment #2
SpaghettiBolognese CreditAttribution: SpaghettiBolognese at Emble commentedComment #3
ogi CreditAttribution: ogi commentedCould you be more specific what breaks with current 0700/0600 modes?
The problem is that File Cache doesn't just manage files (e.g. uploaded ones) but also may contain security information from the DB.
Comment #4
joelpittet@SpaghettiBolognese I'd like to know what's wrong with the modes, the patch looks like a good idea to follow drupal's wrappers but why the mode change?