[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [busybox] `cp' bug: Small test suite.



>>>>> "Erik" == Erik Andersen <andersen@xmission.com> writes:

    Erik> See reg_test.sh in the busybox directory.  Does just what
    Erik> you describe.

 I'll have a look.

    >>  Look closely at the last two sections, where BusyBox `cp' sets
    >> the permissions of `afile', the thing that the symlink points
    >> to, to the modes of the symlink.  `chmod' follows links; the
    >> error (one of several I've found over the last two days) is in
    >> `utility.c:copyFile'.

    Erik> Cool.  Thanks for finding this. I'll add this test to
    Erik> reg_test.sh and then take a look at fixing it (unless you or
    Erik> somebody else beats me to the fix).

 If you give me a few days, I'll have a large multi-file patch with
 ChangeLog entries prepared for you.


Reply to: