Skip to content

Instantly share code, notes, and snippets.

@monkyz
Created September 7, 2012 23:06
Show Gist options
  • Save monkyz/3670552 to your computer and use it in GitHub Desktop.
Save monkyz/3670552 to your computer and use it in GitHub Desktop.
drupal fix for permission issue
after chmod to 775 and reversing to 755, i had errors such as:
The selected file /tmp/file9kryvl could not be uploaded, because the destination sites/default/files/css/css_a5fe171ec6ef6dbf025f1b7fb1e4b78b.css is not properly configured.
The selected file /tmp/filePY11z6 could not be uploaded, because the destination sites/default/files/js/js_9eb6a4659c6cd03efedd85f2d3ae96b6.js is not properly configured.
The selected file /tmp/fileqtpqQR could not be uploaded, because the destination sites/default/files/js/js_064419d14a77f293c45395e1d45e50b8.js is not properly configured.
------------------------------------------------------------------------------------
fix:
chmod -R u+rwX,go+rX,go-w sites/default/files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment