Here's the error I get when i attempt a Copy command to load data into an existing Table:
dgdb=# copy customer from '/Users/dg/Desktop/Customers.txt';
ERROR: COPY command, running in backend with effective uid 502, could not open file '/Users/dg/Desktop/Customers.txt' for reading. Errno = Permission denied (13).
What am I doing wrong? I'm quite new to all of this UNIX stuff, so any help would be appreciated.
dgdb=# copy customer from '/Users/dg/Desktop/Customers.txt';
ERROR: COPY command, running in backend with effective uid 502, could not open file '/Users/dg/Desktop/Customers.txt' for reading. Errno = Permission denied (13).
What am I doing wrong? I'm quite new to all of this UNIX stuff, so any help would be appreciated.