From: Eric Wong <normalperson@yhbt.net>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Subject: Re: where to chmod socket file?
Date: Mon, 30 Nov 2009 16:41:35 -0800 [thread overview]
Message-ID: <20091201004135.GA26299@dcvr.yhbt.net> (raw)
In-Reply-To: <cfbcd2f00911301434h250ab619m9732bd48f4ae10a7@mail.gmail.com>
Suraj Kurapati <sunaku@gmail.com> wrote:
> Eric Wong wrote:
> > [PATCH] configurator: listen :umask parameter for UNIX sockets
>
> Hi Eric,
>
> I'm using Unicorn 0.95.1 and I think that the :umask option is
> behaving inversely.
>
> For example, if I specify :umask => 0600, the socket file ends up with
> s---rwxrwx (same as chmod 0077) permissions. In contrast, if I
> specify :umask => 0177, the socket file ends up with srw------- (same
> as chmod 0600) permissions.
>
> Is umask normally specified as the inverse of a desired chmod?
Hi Suraj, that's how umask works. "man 2 umask"
--
Eric Wong
next prev parent reply other threads:[~2009-12-01 0:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-12 23:36 where to chmod socket file? Suraj Kurapati
2009-11-13 2:03 ` Eric Wong
2009-11-15 0:24 ` Eric Wong
2009-11-15 1:52 ` Suraj Kurapati
2009-11-30 22:34 ` Suraj Kurapati
2009-12-01 0:41 ` Eric Wong [this message]
2009-12-01 1:36 ` Suraj Kurapati
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/unicorn/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091201004135.GA26299@dcvr.yhbt.net \
--to=normalperson@yhbt.net \
--cc=mongrel-unicorn@rubyforge.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/unicorn.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).