当我运行 AWS Glue Zeppelin 笔记本服务器时,出现此错误:
org.postgresql.util.PSQLException: Could not open SSL root certificate file /home/ec2-user/glue-files/rds-combined-ca-bundle.pem.
Caused by: java.io.FileNotFoundException: /home/ec2-user/glue-files/rds-combined-ca-bundle.pem (Permission denied)
所以我运行以下命令:
sudo chmod -R ugo+rw /home/ec2-user/glue-files/
sudo chmod -R ugo+rw /home/ec2-user/glue-files/rds-combined-ca-bundle.pem
之后权限显示如下
rights owner
/home/ec2-user/glue-files rwxrwxrwx root
/home/ec2-user/glue-files/rds-combined-ca-bundle.pem rw-rw-rw- root
但同样的错误仍然存在。关于如何修复它的任何输入?
试过这个
sudo chmod 755 /home/ec2-user/glue-files/rds-combined-ca-bundle.pem
rights owner
/home/ec2-user/glue-files/rds-combined-ca-bundle.pem rwxr-xr-x root
还是同样的错误。