From 0ead56ae2d2175c9ecad7cc5f8981c720e08e4e6 Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Mon, 26 Dec 2022 13:18:22 +0900 Subject: [PATCH] Makefile,README: Use ':' to separate user and group in chown calls The use of '.' to separate the user and group in calls to chown has been deprecated for a while, and newer chown versions now print a warning if '.' is used instead of ':'. This commit updates all chown calls in toolbox to use ':'. --- Makefile | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9d7dabe..a148562 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ install: cp toolbox.sh $(DESTDIR)/$(PREFIX)/share/toolbox/. cp -r include $(DESTDIR)/$(PREFIX)/share/toolbox/. cp -r utils $(DESTDIR)/$(PREFIX)/share/toolbox/. - chown -R root.root $(DESTDIR)/$(PREFIX)/share/toolbox + chown -R root:root $(DESTDIR)/$(PREFIX)/share/toolbox find $(DESTDIR)/$(PREFIX)/share/toolbox -type d -exec chmod 755 {} \; find $(DESTDIR)/$(PREFIX)/share/toolbox -type f -exec chmod 644 {} \; chmod -R 755 $(DESTDIR)/$(PREFIX)/share/toolbox diff --git a/README.md b/README.md index 6510cdb..880ef03 100644 --- a/README.md +++ b/README.md @@ -113,8 +113,8 @@ To install toolbox from git, check out the sources and run `make install`. You will also need to create the *toolbox* and *toolbox_ipc* groups and change ownership on */var/lib/toolbox* and */var/lib/toolbox/ipc*. - # chown root.toolbox /var/lib/toolbox - # chown root.toolbox_ipc /var/lib/toolbox/ipc + # chown root:toolbox /var/lib/toolbox + # chown root:toolbox_ipc /var/lib/toolbox/ipc ### Configuration -- 2.47.3