Closed (cannot reproduce)
Project:
Less CSS Preprocessor
Version:
7.x-2.4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2011 at 14:34 UTC
Updated:
11 May 2014 at 00:54 UTC
Jump to comment: Most recent
Comments
Comment #1
corey.aufang commentedThat is weird considering I also use xampp on windows 7.
Check to make sure that you have full permissions configured for the files directory, such that apache can create and delete files.
Comment #2
corey.aufang commentedFrom the documentation at
http://api.drupal.org/api/drupal/includes--file.inc/function/drupal_rmdir/7
Comment #3
Web Assistant commentedStrange, I have full control in permissions and folders are not set to read only but still I get tons of error messages. I've also checked for hidden files and there are none.
I'll find the problem until it kills me!!
Comment #4
Web Assistant commentedI'm pretty sure all my permissions are correct, and no files or folders are set to read-only.
In file.inc, inside the drupal_rmdir() function, if I comment out the rmdir() function...
... all my problems go away, and everything seems to work.
So what I want to do now is override this core function so I can supress the warnings with @, anyone know of a non-hacky way to do this?
Comment #5
corey.aufang commentedIf you comment that out, Drupal will not be able to delete folders.
This is like having a huge mess in a room and fixing it by just not going into that room anymore ;)
Also, its not which permissions you have, you have to make sure the user that XAMPP is running under has the proper permissions.
Comment #6
Web Assistant commentedI agree, this why I just want to suppress the warnings with @, but only until I figure out how to sort permissions.... sigh! I'll keep fiddling, and post if I figure it out.
Comment #7
Web Assistant commentedI'm still seeing those error messages with the same site, but this time it's on my remote server which is Linux. Folder permissions are 755. I use this module for other sites and don't have this problem, do you have any ideas?
I've probably made a silly error somewhere, here is the error message..
Comment #8
Web Assistant commentedSo just to update, I keep seeing this error in both my localhost and remote server (unix), but only when LESS is development mode.
Comment #9
wusel commentedEdited copy of http://www.apachefriends.org/en/xampp-windows.html:
Comment #10
Web Assistant commentedMy xampp is installed in C:\xampp and have UAC disabled, also, I have seen these same messages on the linux server I have, very strange!
Comment #11
jnettikI am also getting this error on my remote server (CentOS). I don't think this should be getting caused by file permissions as everything else seems to work and the permissions look good.
Comment #12
maustyle commentedI've got the same error when I flush LESS files but only on production. The Less folder /sites/default/files/less has chmod 777.
Warning: rmdir(xxxxxxx/sites/all/themes/theme687) [function.rmdir]: Permission denied in drupal_rmdir() (line 2371 of xxxxxxx/includes/file.inc).Comment #13
corey.aufang commentedFor those that are having this problem, are you using XAMPP as a service?
If you are not running as a service, can you test changing it to a service and vice-versa?
Comment #14
corey.aufang commentedClosing as there has been no updates from reporters.
If you are still having the issue, please upgrade to the latest version of the module and required libraries.
If after this you are still having the issue, please open a new issue.
Do not respond to this ticket please.