0

I'm using pgadmin to copy a csv file into the database.

this worked fine a million times until today. I get the following error

Could not open file "/path.csv" for reading: permission denied

I poked around google, and some of the suggestions were to disable SELinux which i don't plan on doing, since my code worked before.

Dennis Williamson
  • 62,149
  • 16
  • 116
  • 151
dassouki
  • 103
  • 4

1 Answers1

1

what are the permissions on the path.csv file? Perhaps the file was created by a different user than usual and you don't have read permission on it. Sure sounds like a simple file permissions issue and not a DB issue.

Devin Ceartas
  • 1,478
  • 9
  • 12