On Thu, Sep 29, 2005 at 01:37:26PM +0200, Antonio wrote: > On Thu, 2005-09-29 at 12:58 +0200, Peder Hedlund wrote: > [cut] > > In Mandrake /dev/shm is mounted by /etc/rc.sysinit : > > mount -n -t tmpfs none /dev/shm > > after it has mounted devpts. > > I guess you could have it mounted either way (but not both). > > Do you have a fstab entry and if so, what does it look like? > I had no fstab entry for shm in my debian etch (testing) system. > So /dev/shm had wrong permission. I don't now if this is a bug in the > jackd pachage. However, if I do one of these three things I get the > right permission so jack can start from normal user: > 1) Add to fstab: > shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 > 2) manually mont shm with: > # mount -t tmpfs shm /dev/shm > 3) change the permissions: > # chomd a+rwx /dev/shm > So use 1) for now (as suggested by Mark previously). Is this the best > solution on debian? (Not that I don't trust Mark, but only to ask if > debian has a specific behaviour here). On debian sarge /dev/shm is mounted by /etc/init.d/mountvirtfs ls -la /etc/rcS.d/S02mountvirtfs lrwxr-xr-x 1 root root 21 Jun 19 2004 /etc/rcS.d/S02mountvirtfs -> ../init.d/mountvirtfs I have no /dev/shm entry in /etc/fstab and /dev/shm looks like this: eric@audiobox:~$ ls -la /dev/shm/ total 24 drwxrwxrwt 4 root root 80 Aug 28 17:56 . drwxr-xr-x 14 root root 24576 Aug 28 17:52 .. drwx------ 3 eric eric 60 Aug 28 17:56 jack-1000 drwxr-xr-x 2 root root 60 Aug 28 17:50 network I don't have an etch system handy to check, but would expect it to be the same there. -- Eric Dantan Rzewnicki | Systems Administrator Technical Operations Division | Radio Free Asia 2025 M Street, NW | Washington, DC 20036 | 202-530-4900 CONFIDENTIAL COMMUNICATION This e-mail message is intended only for the use of the addressee and may contain information that is privileged and confidential. Any unauthorized dissemination, distribution, or copying is strictly prohibited. If you receive this transmission in error, please contact network@xxxxxxxx