Full ERROR Message Example
ERROR DSE main thread 2020-09-15 22:16:41,152 FileUtils.java:1329 - Doesn't have execute permissions for /var/lib/cassandra/data directory
ERROR DSE main thread 2020-09-15 22:16:41,154 CassandraDaemon.java:901 - Insufficient permissions on directory /var/lib/cassandra/data
What does this ERROR message mean?
The data directory does not have the execute bit set and DSE will fail to start during start up checks. In addition affected users and groups will not be able to enter the directory or access files and sub-directories within that directory.
Why does this ERROR occur?
Data directory permissions are not configured correctly. The DSE process user does not have the execute bit set for the directory owner.
How do you fix this ERROR?
To fix this, a user or group who has ownership of the affected directory may apply the proper permissions to the affected directory:
To give the user, group and other execute permissions to the default data directory (/var/lib/cassandra/data):
chmod +x /var/lib/cassandra/data