From: Anthony Liguori <aliguori@us.ibm.com>
To: Ewan Mellor <ewan@xensource.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [Xen-changelog] Set the permissions correctly on the XML-RPC UDP socket, so that non-root users
Date: Fri, 31 Mar 2006 09:49:51 -0600 [thread overview]
Message-ID: <442D4F9F.5070004@us.ibm.com> (raw)
In-Reply-To: <20060331154826.GA31093@leeni.uk.xensource.com>
Ewan Mellor wrote:
> On Fri, Mar 31, 2006 at 08:36:45AM -0600, Anthony Liguori wrote:
>
>
>> Did you see this failure after changing the socket location to
>> /var/run/xend/xml-rpc.sock? The only way the permissions of
>> /var/run/xend-xmlrpc.sock should be non-root is if /var/run has non root
>> permissions. Was that the case?
>>
>
> We were seeing the failure intermittently, even when the socket was in
> /var/run.
>
Interesting, that's really good to know for the future.
Thanks,
Anthony Liguori
> According to unix(7), on Linux, "sockets honour the permissions of the
> directory they are in", so it seems to me to be safest to have our own
> dedicated directory, so that we can guarantee the permissions on that are
> correct.
>
> Ewan.
>
prev parent reply other threads:[~2006-03-31 15:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1FP85Y-00078n-Gr@xenbits.xensource.com>
2006-03-31 14:36 ` [Xen-changelog] Set the permissions correctly on the XML-RPC UDP socket, so that non-root users Anthony Liguori
2006-03-31 15:48 ` Ewan Mellor
2006-03-31 15:49 ` Anthony Liguori [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=442D4F9F.5070004@us.ibm.com \
--to=aliguori@us.ibm.com \
--cc=ewan@xensource.com \
--cc=xen-devel@lists.xensource.com \
/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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.