[Toybox] cp --preserve=a doesn't preserve security context of directories.

2023-08-15 Thread Rob Landley
So way back in https://github.com/landley/toybox/issues/112 I got a bug report, which goes with this comment in cp.c: // We only copy xattrs for files because there's no flistxattrat() Which is a symptom, not the problem. The fundamental problem is that creating a file gives me a filehandle so

[Toybox] About the sort -k-1 thing...

2023-08-15 Thread Rob Landley
I'm still subscribed to the coreutils mailing list because: https://lists.gnu.org/archive/html/coreutils/2023-08/msg9.html And recently there was: https://lists.gnu.org/archive/html/coreutils/2023-08/msg00035.html So I did

Re: [Toybox] [landley/toybox] ls '-k' option is in the help but not supported (Issue #449)

2023-08-15 Thread Rob Landley
I am not posting a reply this long to github, it's going to the list. :) On 8/15/23 15:57, David Legault wrote: > I guess you are right. On QNX we default to 512 because that's what the system > does so I guess I'll have to wedge in some code to set the value to blocksize > value to 1024 if you