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.
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
Do the shut down is mandatory? Is it possible to change without shutting down the application?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Dabin Daniel Sundaram
Yes, file ownership change will work irrespective of whether confluence is running or not.
As I said earlier, there's no way of changing ownership of already running process in Linux, you will need to kill it or stop it and then restart the process as a new user. If its a live environment, you can try restarting it during non-business hours.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just want to add, you're running the application under root, if you are worried about a 5 minute downtime, your priorities are wrong.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.