Hi Tiffany,
I think you mean ec2-user, and not ec2_user?
It looks like you are running a Xcalar cluster on an AWS instance. You need a way to know what Xcalar runs as. As simple way of doing that would be:
[ec2-user@ip-162-33-8-49 ~]$ ps -ef | grep usrnode | grep nodeId
xcalar 31119 31116 0 Jan19 ? 01:31:00 usrnode --nodeId 0 --numNodes 1 --configFile /etc/xcalar/default.cfg
This would show that my xcalar instance is running as "xcalar" which is usually a default user. Advanced users can change the default user.
Next step is to check what the export directory permission is.
[ec2-user@ip-162-33-8-49 ~]$ ls -ld /var/opt/xcalar/export
`drwx------. 7 xcalar xcalar 123 Jan 27 16:16 /var/opt/xcalar/export`
This would indicate that no one other than the user xcalar can access this directory. So how do you access this directory?
On an aws instance, you most likely show be able to do the following:
[ec2-user@ip-162-33-8-49 ~]$ sudo su xcalar
[xcalar@ip-162-33-8-49 ec2-user]$
[xcalar@ip-162-33-8-49 ec2-user]$ cd /var/opt/xcalar/export
[xcalar@ip-162-33-8-49 export]$ ls -l
total 4
drwxrwxrwx. 2 xcalar xcalar 28 Jan 24 21:12 gemini-1
drwxrwxrwx. 2 xcalar xcalar 23 Jan 19 05:22 apollo-2