-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jack doesn't work across users on OSX #52
Comments
Change permissions on the socket? |
Shouldn't that be an automatic thing, though? |
Why would it be? If you start it as root, jack wont infer that you meant to start it as another user. |
No but setting the file permissions (not ownership) can be an automatic thing. |
Making it world readable/writable isn't a sane thing to do. |
PROMISCUOUS_MODE has been discussed on the mailing list multiple times. The default is per-user, and there's no intention to make it easy to run in a multi-user environment. |
But this makes JACK unusable on OSX... |
@Qix- you have already found a solution to your problem. It shouldn't be too hard for you to add a chmod somewhere in a fork of jack in order to achieve your goal. |
@enoposix No, I haven't. JACK does not work with newer versions of OS/X as an audio device since the new HAL architecture runs as a separate user when running the daemon. Since JACK doesn't support multiple users (as noted by @adiknoth), there is absolutely no way to pipe audio to the audio card. Not that it really matters; #50 still prevents JACK from being used on OSX anyway. |
I didn't say this. Jack communicates via shared memory, which is a file. You can chmod that file to allow access to another group or even everyone. Since this mode is (was?) discouraged, it's not documented to great extend, but you can search the mailing list for JACK_PROMISCUOUS_SERVER. And grep the source, it's supposed to be an environment variable. There's also a proxy driver in jackd2 that connects a per-user jackd to a global one running in promiscuous mode. My memory fails me, but maybe we've deleted some of the code required to make this work. Either way, it's really just a chmod under the hood. |
Yes, correct. However it's a chmod that should be happening automatically since it degrades user experience when installing e.g. the HAL server I was trying to write. Requiring users do a |
It appears as if
jackd
cannot be accessed if run as a daemon process on OSX (undersudo
) by non-sudo users.Any way of making this not so?
The text was updated successfully, but these errors were encountered: