← Back to team overview

epoptes team mailing list archive

[Bug 953501] Re: /var/run/epoptes/epoptes.socket permissions are wrong

 

In the past I tried adding an umask() call to epoptesd.py:
        os.umask(007)
        guiService = internet.UNIXServer(
            "%s/epoptes.socket" % config.system['DIR'],
            guiplex.GUIFactory())

There seems to be a twisted bug somewhere though and this doesn't work as expected.
And, seeing that for example ~/.config is not world-readable while the other dirs inside it are, I thought it's OK, not worth the trouble to hunt down a twisted bug for it.
Patches are welcome though, if someone really needs it.

** Changed in: epoptes
   Importance: Undecided => Wishlist

** Changed in: epoptes
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Epoptes
Developers, which is the registrant for Epoptes.
https://bugs.launchpad.net/bugs/953501

Title:
  /var/run/epoptes/epoptes.socket permissions are wrong

Status in Epoptes:
  Won't Fix

Bug description:
  /var/run/epoptes/epoptes.socket is root:epoptes 666 by default, where
  I'd have expected root:epoptes 660 instead.

  This isn't a big concern because /var/run/epoptes itself is 770 but
  it'd still be a good idea to fix the permission there too just to be
  safe.

To manage notifications about this bug go to:
https://bugs.launchpad.net/epoptes/+bug/953501/+subscriptions