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

corey.aufang’s picture

Status: Active » Closed (won't fix)

LESS creates directories using the included function _less_ensure_directory().

This calls file_prepare_directory().

Which calls drupal_mkdir() and then drupal_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.