You can see this error when you try to upload something on Drupal. If you see this, probably there is a permission or ownership problem.
The %directory is a variable, can change for everyone. For example I was tring to upload language file and my %directory was sites/default/languages. So I enter that command from console and problem solved;
chown nobody:nobody sites/default/languages |
If your problem continue try to
chmod 777 %directory. |