[dev] [sbase] find and xargs different results than busybox

From: andremw <andremw_AT_protonmail.com>
Date: Sun, 15 Jul 2018 15:40:56 -0400

Hello friends.
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.
Thank you.

The commands-
-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 ...]]

Thank you.
Received on Sun Jul 15 2018 - 21:40:56 CEST

This archive was generated by hypermail 2.3.0 : Sun Jul 15 2018 - 21:48:07 CEST