]> git.corax.cc Git - toolbox/commitdiff
Makefile,README: Use ':' to separate user and group in chown calls
authorMatthias Kruk <m@m10k.eu>
Mon, 26 Dec 2022 04:18:22 +0000 (13:18 +0900)
committerMatthias Kruk <m@m10k.eu>
Mon, 26 Dec 2022 04:18:22 +0000 (13:18 +0900)
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
README.md

index 9d7dabeb7605ffe6af1f3193bf2fdf9172cece45..a148562c1d62de7f34fec4234889180d1dff4e1a 100644 (file)
--- 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
index 6510cdbf254d803903cba281ecf7d2dbf4a8fe67..880ef03669a785c9675c7a56f7c1df2e23fab65f 100644 (file)
--- 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