Setting permissions to run the agent as a different user
Describes necessary directory and file permissions if you need to run the agent as a different user than the default user for DataStax Enterprise, which is cassandra.
Running the agent as the same user running DataStax Enterprise is highly recommended because directory and file permissions do not need to be set manually. By default, the DataStax agent is installed with the Installer-Services or package installations and runs as the same user as DataStax Enterprise, which is cassandra. When installing the agent from Installer-No Services or tarball installations, you must manually configure the agent and DataStax Enterprise as different users.
Prerequisites
Feature functionality | Permissions required |
---|---|
General agent functionality | Read permission to cassandra.yaml |
Configuring a cluster | Read/write permissions to configuration directories and files. |
Backup and restore |
|
Directory/File | Location |
---|---|
cassandra.yaml |
See Configuration directories and files below. |
Configuration directories and files |
|
Data directories | Default: /var/lib/cassandra Note: Location
is user-configurable; set in
cassandra.yaml . |
Commitlog archiving script |
|
Procedure
To set up the umask: