[Toybox] [PATCH] Make chmod work on . and ..
Rob Landley
rob at landley.net
Fri Oct 21 09:22:40 PDT 2016
On 10/20/2016 10:16 PM, Josh Gao wrote:
> --- a/toys/posix/chmod.c
> +++ b/toys/posix/chmod.c
> @@ -43,8 +43,6 @@ static int do_chmod(struct dirtree *try)
> {
> mode_t mode;
>
> - if (!dirtree_notdotdot(try)) return 0;
> -
The problem is without that chmod -R goes nuts.
Thanks for the heads up, I'll try to fix it (and add a test suite entry)
in the morning. (Just got into my hotel in tokyo and boy are my arms
tired. As is most of the rest.)
Rob
More information about the Toybox
mailing list