I have two unison profiles with the same name as following:
/root/.unison/theprofile.prf
/home/users/itsme/.unison/theprofile.prf
Both have different contents. They target the same remote server (over SSH), but have their own directory on that server.
I execute the following:
sudo unison theprofile
I expected that the profile in /root/.unison/theprofile.prf
was taken, but some reason I do not understand the profile in /home/users/itsme/.unison/theprofile.prf
was taken.
Why is that? How can I allow root
to have its own unison profile, without conflicting the profile of itsme
(and vice versa)? Ideally, they don't even know anything from each other.