Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7799293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T00:15:43+00:00 2026-06-02T00:15:43+00:00

I have a daemon which listens to a socket in /var/run . I start

  • 0

I have a daemon which listens to a socket in /var/run. I start the daemon using an init script (as root, obviously), and I’m using the twistd --uid and --gid options to drop privileges to an unprivileged user. The socket, however, is still owned by root:root.

A second daemon, which runs as the same unprivileged user, needs to have access to the socket. I now change the socket ownership to daemon:daemon in the init script, but this doesn’t strike me as a very elegant solution.

Is there a way make the socket owned by daemon:daemon in the tac file?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T00:15:44+00:00Added an answer on June 2, 2026 at 12:15 am

    No, currently there isn’t.

    It’s an open issue in Twisted, it’s also the case with PID and log files.

    See blog describing the issue, and open issues:

    • http://twistedmatrix.com/trac/ticket/5297
    • http://twistedmatrix.com/trac/ticket/5296
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple Perl script which runs as a Linux daemon using an
I have a process x which uses system C function to start ntpd daemon.
I have written a JAXL daemon in PHP (Debian 6.0) which sits and listens
I have a python script which manages an Erlang daemon. Everything works fine when
I'm using a daemon-script which is monitoring a remote server. When the remote server
I have a perl script which calls another perl script using backticks. I want
I have a Linux C++ application which run as a daemon. When user executes
Is it so memory consuming to have a daemon written on php (which listens/process
I have an app which acts almost like a daemon. Sometimes it quits on
I have written a server daemon (Linux, Ubuntu) which communicates with PHP as frontend

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.