mirror of https://github.com/dirtbags/tanks.git
Fix some permissions
This commit is contained in:
parent
e7324c30f5
commit
0b701722fe
2
Makefile
2
Makefile
|
@ -17,7 +17,7 @@ install: $(BINARIES) $(HTML)
|
||||||
install summary.awk $(DESTDIR)/bin
|
install summary.awk $(DESTDIR)/bin
|
||||||
install forftanks $(DESTDIR)/bin
|
install forftanks $(DESTDIR)/bin
|
||||||
|
|
||||||
install -d $(DESTDIR)/www
|
install -d -o $(id -u www) -g $(id -g www) $(DESTDIR)/www
|
||||||
install upload.cgi $(DESTDIR)/www
|
install upload.cgi $(DESTDIR)/www
|
||||||
install -m 0644 $(HTML) $(DESTDIR)/www
|
install -m 0644 $(HTML) $(DESTDIR)/www
|
||||||
install -m 0644 $(WWW) $(DESTDIR)/www
|
install -m 0644 $(WWW) $(DESTDIR)/www
|
||||||
|
|
|
@ -12,8 +12,8 @@ Documentation
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
* [Homepage](https://dirtbags.github.io/tanks/)
|
* [Homepage](https://dirtbags.github.io/tanks/)
|
||||||
* [History](doc/history.md)
|
* [History](docs/history.md)
|
||||||
* [Running](doc/running.md)
|
* [Running](docs/running.md)
|
||||||
|
|
||||||
|
|
||||||
Author
|
Author
|
||||||
|
|
|
@ -70,4 +70,20 @@ Accepts form input and writes a tank.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Problems
|
||||||
|
========
|
||||||
|
|
||||||
|
Nothing uploads
|
||||||
|
---------------
|
||||||
|
|
||||||
|
The user running the web server has to be able to write to the directory serving the CGI.
|
||||||
|
Yes, I realize this is a terrible design. Please feel encouraged to submit a merge request.
|
||||||
|
|
||||||
|
|
||||||
|
Only sensors upload
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
The user running the web server has to be able to write to the directory serving the CGI.
|
||||||
|
Not just the directory with the tank token.
|
||||||
|
Yes, I realize this is a terrible design. Please feel encouraged to submit a merge request.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue