mirror of
https://github.com/MinecraftServerControl/mscs.git
synced 2024-11-15 06:48:16 -07:00
add umask permissions to useradd command
This commit is contained in:
parent
4fc08701ef
commit
7cdf186905
2
Makefile
2
Makefile
@ -13,7 +13,7 @@ UPDATE_D := $(wildcard update.d/*)
|
||||
.PHONY: install update clean
|
||||
|
||||
install: update
|
||||
useradd --system --user-group --create-home --home $(MSCS_HOME) $(MSCS_USER)
|
||||
useradd --system --user-group --create-home -K UMASK=0022 --home $(MSCS_HOME) $(MSCS_USER)
|
||||
chown -R $(MSCS_USER):$(MSCS_GROUP) $(MSCS_HOME)
|
||||
if which systemctl; then \
|
||||
systemctl -f enable mscs.service; \
|
||||
|
Loading…
Reference in New Issue
Block a user