I am working in a Mac environment and am having problems with multiple user accounts on the same computer. My Mac Pro is humming away as the Roon server and we have a shared Macbook Air. I can set up the portable as an end point but when I tried launching under my wife’s account I get an error - attached.
Unfortunately, on a Mac, to open up the user home directory to other users will break the security model of the file system. This will be similar under Linux as well. You have to grant read permission all the way down the file system tree which might have unintended visibility given to the other users. Not so important for my wife and me, but if the kids were still in the house…
I’ve run into this sort of problem in the past with software written initially for Windows. Windows developers like to install things into the user space, bypassing O/S security. Mac (BSD Unix) and Linux require shared items to be installed into the system space (such as /usr/lib and /usr/bin on Unix or /Library/preferences on the Mac). User configurations then should be in the home directory of each user.
Another issue is that non-Windows system are more often used in a multi-user space. Locks and resources need to managed accordingly.
Not relevant to this issue is properly implementing multi-user licensing. A lot of software is licensed per computer but implemented per user account.
No one is asking you to do that. Run Roon as yourself, and let Roon write to your own home directory. On Mac, we write a tiny lockfile to your home dir, and then write quite a bit to ~/Library/Roon/. Users running the app should have permissions to write to their own directory. This is pretty common UNIX behavior. You are failing because you can’t write to your own home dir.
chmod u+rwx $HOME; chown `whoami` $HOME
Roon is meant to run locally per user, and not system wide. If you want to force Roon into system wide install, you might be able to succeed with looser permissions, but I wouldn’t recommend it.
If you install Roon into a shared location and run as a different user than who owns the file, you will break self-updating, but nothing else. Also, our dev team is split about 50/50 on Mac vs Windows.
That’s why we write to your user’s home directory, and not to some global directory.
All licensing is done based on your Roon account + machine identity, and nothing to do with software install.
Maybe someone could clear this up for me, as I’m having the same issue. Is there a fix in the above thread? Perhaps the ‘chmod’ line?
RoonServer is running on a headless Mac Mini. I can control via an iMac27 as well as my account on a MacBook Pro. But, if I try to run Roon on my wife’s account on the MacBook Pro, I get the Lock File error. Not a big deal, but I’d like to clean it up.