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 ':'.
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
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