Created attachment 2964 [details] Do not clear umask of the PR Service in daemon mode The current bitbake-prserv forces the umask to 0 when daemonizing. I think his should not be done, as it will make all files be created with permissions 0777 (world writable!) by default. For instance, the PID file (/tmp/PRServer_*.pid) is created with permissions 0777 on my system (CentOS 7.2.1511). It would be better to leave the umask unchanged, so whoever is starting bitbake-preserv gets to choose the umask it wants to use. The attached patch does exactly this.
Thanks for the patches! http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=56454f6fb2aed2bbfd6e1c1759f15d97db086d90