Issue 318 in memcached: memcached daemon priviliges (->nobody) and socket

12 views
Skip to first unread message

memc...@googlecode.com

unread,
Apr 27, 2013, 6:49:01 PM4/27/13
to memc...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 318 by msg7...@gmail.com: memcached daemon priviliges (->nobody)
and socket
http://code.google.com/p/memcached/issues/detail?id=318

What steps will reproduce the problem?
1.# memcached -s /var/run/m.sock -u nobody -d
2.# memcached -s /var/run/m.sock -u root -d
where /var/run belongs to root:root 0755

What is the expected output? What do you see instead?
Typically a daemon should create socket first and then switch to nobody
user. But here somehow it cannot create the sock unless -u root is
specified.

What version of the product are you using? On what operating system?
memcached-1.4.13-0.2 i386 from official repository, Debian wheezy

Please provide any additional information below.
Listening to below port 1024 is also affected by the user setting

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages