Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.unix.programmer > #647
| From | Rainer Weikusat <rweikusat@mssgmbh.com> |
|---|---|
| Newsgroups | comp.unix.programmer |
| Subject | Re: mq_open - permission denied |
| Date | 2011-05-23 15:19 +0100 |
| Message-ID | <87tycl5wk3.fsf@sapphire.mobileactivedefense.com> (permalink) |
| References | <eaaa82e5-3018-4b6b-876e-68ebd13270a2@f11g2000vbx.googlegroups.com> <87d3jaa2mk.fsf@sapphire.mobileactivedefense.com> <70bcc640-5ac0-4e7c-8db6-4fb8aeef8912@w21g2000yqm.googlegroups.com> <87aaed7mh1.fsf@sapphire.mobileactivedefense.com> <30f1daaf-8526-448b-9523-0a802f312983@p23g2000vbl.googlegroups.com> |
gogol <eromascanu@gmail.com> writes: > On May 23, 6:14 am, Rainer Weikusat <rweiku...@mssgmbh.com> wrote: [...] >> eg, by doing something like this: >> >> mode_t omask; >> >> omask = umask(0); /* use permissions as specified */ >> mq_t = mq_open(...); >> umask(omask); > > It doesn't seem to make any difference. This is what I have in the > message queue creation: > > mode_t omask = umask(0666); Rest assured that it does: You are now creating the message queue with all read and write permission bits disabled.
Back to comp.unix.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
mq_open - permission denied gogol <eromascanu@gmail.com> - 2011-05-21 06:53 -0700
Re: mq_open - permission denied Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-05-22 21:42 +0100
Re: mq_open - permission denied gogol <eromascanu@gmail.com> - 2011-05-22 14:42 -0700
Re: mq_open - permission denied Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-05-23 11:14 +0100
Re: mq_open - permission denied gogol <eromascanu@gmail.com> - 2011-05-23 06:15 -0700
Re: mq_open - permission denied Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-05-23 15:19 +0100
Re: mq_open - permission denied gogol <eromascanu@gmail.com> - 2011-05-23 16:34 -0700
Re: mq_open - permission denied scott@slp53.sl.home (Scott Lurndal) - 2011-05-23 16:34 +0000
Re: mq_open - permission denied gogol <eromascanu@gmail.com> - 2011-05-23 12:28 -0700
Re: mq_open - permission denied Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-05-24 11:29 +0100
Re: mq_open - permission denied gogol <eromascanu@gmail.com> - 2011-05-23 06:18 -0700
csiph-web