mirror of
https://github.com/3proxy/3proxy.git
synced 2026-09-02 07:50:24 +00:00
Linux installation: do not allow proxy account to write to chrooted config dir
This commit is contained in:
parent
ac429c8d52
commit
0565cf050b
1 changed files with 3 additions and 1 deletions
|
|
@ -141,7 +141,9 @@ install: install-chroot-dir install-bin install-etc install-log install-man inst
|
|||
stty echo ;\
|
||||
fi
|
||||
@chown -R proxy:proxy $(CHROOTDIR)
|
||||
@chmod 660 $(CHROOTDIR)/conf/*
|
||||
@chmod 550 $(CHROOTDIR)/
|
||||
@chmod 550 $(CHROOTDIR)/conf/
|
||||
@chmod 440 $(CHROOTDIR)/conf/*
|
||||
@echo ""
|
||||
@echo 3proxy installed.
|
||||
@echo use
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue