If you have AppArmor enabled, make sure that the given path is enabled in the AppArmor profile. For details see this page.
It might be also a problem, that the directory does not exist. There are two possible solutions:
- create the directory by hand
- use the '''create_dirs(yes)''' option either globally, or locally for the specific file destination, so the necessary directories are created automatically