When elasticsearch starts, how to solve the situation that Permission denied and insufficient permissions occur?

as shown in the figure, the following problems occurred during the installation of es. I set the folders to 777 permissions and gave es user permissions. Why do I still report insufficient permissions during execution? Look up on the Internet, it is all about the establishment of another user, I have built a user, but also given permissions, why is this still the case? Looking for answers.


you need to get the configuration file when you start es. Your configuration file is under / etc/elasticsearch , but your es user does not have this permission. You only have / usr/share/elasticsearch permission.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be2f03-3164f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be2f03-3164f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?