public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] shared memory
@ 2005-08-23 14:46 Martins Steinbergs
  2005-08-23 17:40 ` Jonas Geiregat
  0 siblings, 1 reply; 3+ messages in thread
From: Martins Steinbergs @ 2005-08-23 14:46 UTC (permalink / raw
  To: gentoo-users

Hi,

I have problem - user cant access shared memory, got this:

FGLTexMgr: open of shared memory object failed (Permission denied)

fstab has entry:
none /dev/shm defaults 0 0

xorg dri section set to 0666

cant fugure out what has changed and where to look to fix this, any ideas?

Martins
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] shared memory
  2005-08-23 17:40 ` Jonas Geiregat
@ 2005-08-23 16:29   ` Martins Steinbergs
  0 siblings, 0 replies; 3+ messages in thread
From: Martins Steinbergs @ 2005-08-23 16:29 UTC (permalink / raw
  To: gentoo-user

defaults was there for ages and it worked until recent. I'm not sure is it 
good idea, but changed it to users and got things working. will add noexec, 
rw as you sudgest.

thanx

Martins


On Tuesday 23 August 2005 20:40, Jonas Geiregat wrote:
> Martins Steinbergs wrote:
> >fstab has entry:
> >none /dev/shm defaults 0 0
>
> First and for all change defaults to noexec,rw , why would you want
> anyone to be able to execute anything in a volatile fs ?
> Second /dev/shm is `as far as I know` only added to be compatible with
> glibc2.2 and above so the POSIX shm_open and shm_unlink can be used, try
> running
> touch /dev/shm/foo
> if this works then nothing is wrong with /dev/shm or any related
> settings , I think ..
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] shared memory
  2005-08-23 14:46 [gentoo-user] shared memory Martins Steinbergs
@ 2005-08-23 17:40 ` Jonas Geiregat
  2005-08-23 16:29   ` Martins Steinbergs
  0 siblings, 1 reply; 3+ messages in thread
From: Jonas Geiregat @ 2005-08-23 17:40 UTC (permalink / raw
  To: gentoo-user

Martins Steinbergs wrote:

>fstab has entry:
>none /dev/shm defaults 0 0
>  
>

First and for all change defaults to noexec,rw , why would you want 
anyone to be able to execute anything in a volatile fs ?
Second /dev/shm is `as far as I know` only added to be compatible with 
glibc2.2 and above so the POSIX shm_open and shm_unlink can be used, try 
running
touch /dev/shm/foo
if this works then nothing is wrong with /dev/shm or any related 
settings , I think ..

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-23 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-23 14:46 [gentoo-user] shared memory Martins Steinbergs
2005-08-23 17:40 ` Jonas Geiregat
2005-08-23 16:29   ` Martins Steinbergs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox