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 DSE or DSC, which is cassandra.
Running the agent as the same user running DSE or DSC is highly recommended because directory and file permissions do not need to be set manually. By default, the DataStax agent when installed by deb or rpm packages runs as the same user as DSE and DSC, which is cassandra. Those who install the agent from a tarball are responsible for manually configuring running the agent and DSE or DSC 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 |
|
To set up the umask: