Re: [linux-audio-user] can't start jackd from normal user

From: Peder Hedlund <peder@email-addr-hidden>
Date: Thu Sep 29 2005 - 10:19:16 EEST

On Wed, 28 Sep 2005, Mark Knecht wrote:

> On 9/28/05, Antonio <debian@email-addr-hidden> wrote:
>
> > JACK compiled with System V SHM support.
> > cannot create /dev/shm/jack-1000 directory (Permission denied)
>
> Hi,
> It seems pretty clear to me that this is a permissions problem, not a
> kernel issue. I would suggest looking at how shm is mounted in your
> distro and whether users are given access. On my Gentoo machine I have
> this in fstab:
>
> shm /dev/shm tmpfs
> nodev,nosuid,noexec 0 0

 Make sure you have support for shm and tmpfs in the kernel.
 (I think SHM is default but you have select
 "Virtual memory filesystem support" under Filesystems/Pseudo fs)

 If you have that you shouldn't have to have any entry in fstab;
 the kernel automounts /dev/shm with 1777 permissions.
 I've read that having fstab mount /dev/shm after the kernel has mounted
 it might cause xruns.

 The fstab entry, I think, is only for 2.4 kernels.

 - Peder
Received on Thu Sep 29 12:15:14 2005

This archive was generated by hypermail 2.1.8 : Thu Sep 29 2005 - 12:15:14 EEST