AppArmor makes it impossible to LOAD DATA INFILE from outside its designated directories; there should be a way to add CSV import directories to the AppArmor config or disable AppArmor entirely #477
Labels
Bug
Something isn't working
hacktoberfest
An issue highlighted for the digital ocean Hacktoberfest Event
Projects
Cookbook version
Actually my own fork, but this issue should equally apply to the current master here
Chef-client version
Whatever AWS OpsWorks uses
Platform Details
AWS, Ubuntu 16.04
Scenario:
Use
LOAD DATA INFILE
to load CSVs that are located somewhere outside MySQL's data directorySteps to Reproduce:
Provision a box with a recipe that invokes the
mysql_service
resource, then callLOAD DATA INFILE
Expected Result:
LOAD DATA INFILE
worksActual Result:
AppArmor
blocks theLOAD DATA INFILE
call.The text was updated successfully, but these errors were encountered: