Confluence is running with the id of root. I want it to run with the tools id. Please let me know the exact step and path. Kindly let me know the commands to change it to tools id.
Hi @Dabin Daniel Sundaram
If the confluence is already running as root, you might want to shut it down first with root user.
Then as root user run -
chown -R tools <confluence-install-directory>
This will change to ownership of all files under install-directory to tools
Then switch to tools user and start confluence.
If you are not aware of your install directory path, try to run the following command in your terminal and check the path there
ps aux | grep confluence
Hi @Kishan Sharma
Do the shut down is mandatory? Is it possible to change without shutting down the application?
You cannot change owner of a running process in Linux, so, yes shutdown is mandatory as you want to run the process with tools user and there's an existing process running as root which needs to be killed/stopped first.
We can able to change the directories/folders permissions from root to tools without shutting down the application. Could you please let me know why the shutdown is necessary for doing the same thing with Confluence.
It looks like you're new here. Sign in or register to get started.