Export Job Failing From Permission Denied Error

Problem

An export job is failing and the log shows the error message as "Permission Denied." 

Cause

There could be several reasons. One might be that the user does not have the correct permission at the destination location to export data from Datameer to that location. A second could be that it is not allowed for the user to create subdirectories. 

Solution

  • If the location destination for the export already exists, the Datameer user needs permission to write to this location. 
  • If the location destination for the export is new, the Datameer user needs permission to create a new directory.

Additional Information

Keep in mind that the destination location is built from the Root Path Prefix configured within the connection details plus the Folder Path configured within the Data Details of the export job.

For example, if the connection is configured with the Root Path Prefix of /home and the export job Folder Path the filename of /<username>/<filename>.csv, the destination location would be /home/<username>/.