capi20 permissions

Lars Immisch <[email protected]>
Newsgroups gmane.linux.isdn.i4l.user
Message-ID <[email protected]>
Hi,

Tobias Powalowski asked me it is a bug that capi related tools can seemingly only be started as root.

I have the same (cosmetic) problem, here is my current analysis.

The short answer is: no, it's not a bug, it's an installation/packaging issue. The capi tools can be run as any user or group.

mISDNcapid needs access to a shared POSIX semaphore and shared memory in /dev/shm/. It will open the sempahore/shared mem with RW access to the user/group it is running as. Also, it needs to be able to write to /var/run/mISDNcapid.

When these conditions are met, the capi user processes can be run under the same user or group.

- Lars

P.S. On my (Debian) system, /dev/shm is not writable by users by default.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.