diff --git a/features_tools.module b/features_tools.module
index 8649ba2..11906f4 100644
--- a/features_tools.module
+++ b/features_tools.module
@@ -106,6 +106,11 @@ function features_tools_form_features_admin_form_alter(&$form, &$form_state) {
  */
 function features_tools_form_features_export_form_alter(&$form, &$form_state) {
   //TODO: add backup options.
+  $path = $form['#feature']->name ? drupal_get_path('module', $form['#feature']->name) : 'sites/all/modules';
+  $writeable = file_prepare_directory($path);
+  if ($writeable === FALSE) {
+    drupal_set_message(t('The directory @path does not exists or not writable', array('@path' => $path)), 'error');
+  }
   $form['buttons']['create'] = array(
     '#type' => 'submit',
     '#value' => t('Auto create feature'),
