Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Thnx for the module!
The generated CSS files have group write permissions, but the directories do not. This can cause problems with scripts that rely on group permissions, e.g., restore a site to a known state.
BTW, include/files.inc sets group write permissions by default. Line 2146:
$mode = variable_get('file_chmod_directory', 0775);
Don't know if that helps.
Kieran
Comments
Comment #1
corey.aufang CreditAttribution: corey.aufang commentedLESS creates directories using the included function
_less_ensure_directory()
.This calls
file_prepare_directory()
.Which calls
drupal_mkdir()
and thendrupal_chmod()
.Ultimately calling
$wrapper->chmod($mode)
with the mode from line 2146 of file.inc.I've run into this issue before, but it appears as tho all the right functions are being called.
If you can find any more information as to the cause of this issue, please update and re-open this ticket.