2018-07-15 19:40:56 UTC
I always used busybox but now I decided to use sbase because of the simplicity and lightweight.
I had a script to fix /home/user files and directories permissions that always worked on busybox but fails on sbase.
I wonder if the programs in sbase have a bug or if my commands aren't POSIX. Any insight in this is well regarded.
-find /home/user -type d -print0 | xargs -0 chmod 0775
-find /home/user -type f -print0 | xargs -0 chmod 0664
In busybox they work, in sbase they return-
-find: paths must precede expression: -print0
-usage: xargs [-rtx] [-E eofstr] [-n num] [-s num] [cmd [arg ...]]