Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect group for /var/run/${{app_name}} folder with SystemV init-scripts. #381

Closed
artempyanykh opened this issue Oct 17, 2014 · 1 comment

Comments

@artempyanykh
Copy link
Contributor

After I install a package (suppose app_name is vanila_play) the permissions are the following:

$ ls -lad /var/run/vanila-play/
drwxr-xr-x 2 vanila-play vanila-play 60 Oct 16 10:00 /var/run/vanila-play/

Owner is daemonUser, group is daemonGroup. So far, so good. But after reboot group changes to root and permissions changes from 755 to 750:

$ ls -lad /var/run/vanila-play/
drwxr-x--- 2 vanila-play root 60 Oct 16 10:02 /var/run/vanila-play/

The issue lies in start-debian-template:28 and start-rpm-template:67 -- no -g flag for the install command and -m750 instead of -m755.


It is not a big deal, but I could prepare a PR with a fix (just a matter of maintaining the order).

@muuki88
Copy link
Contributor

muuki88 commented Oct 17, 2014

Awesome. Thanks for pointing out :-) Im happy to merge every fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants