Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Permissions in /var/run/kopano/ correct?

    Development
    sirwugo ecserver.cpp perms
    1
    1
    256
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • patrick
      patrick last edited by

      KC 8.7.5, Listing of the socket files in /var/run/kopano/:

      16506 -rw-rw-rw-.  2 kopano kopano   0 21 sep 14:03 kopano.lab.thuis.ceee6740-508
      15043 -rw-r--r--.  1 kopano kopano   4 21 sep 14:03 monitor.pid
      19120 srw-rw----.  1 kopano kopano   0 21 sep 14:03 prio.sock
      16507 -rw-r--r--.  1 kopano kopano   4 21 sep 14:03 search.pid
      16506 -rw-rw-rw-.  2 kopano kopano   0 21 sep 14:03 search.pid.lock
      20262 srwx------.  1 kopano kopano   0 21 sep 14:03 search.sock
      20213 -rw-r--r--.  1 kopano kopano   5 21 sep 14:03 server.pid
      19122 srw-rw-rw-.  1 kopano kopano   0 21 sep 14:03 server.sock
      

      Why does server.sock have 666 perms? It drops to and is running as user kopano & group kopano. Shouldn’t that be 660 or 640? Notice the “S_IRWUGO” here:
      https://stash.kopano.io/projects/KC/repos/kopanocore/browse/provider/server/ECServer.cpp#788

      The same goes for “search.pid.lock” which also has 666 perms. I could not find where in the source that file gets created. Finally “kopano.lab.thuis.ceee6740-508” also has 666 perms but I have no idea what it’s for and where it gets created. Thanks!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post