[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] chmod options -H, -L, -P
From: |
James Youngman |
Subject: |
Re: [patch] chmod options -H, -L, -P |
Date: |
Sun, 17 Jul 2005 12:24:18 +0100 |
User-agent: |
Mutt/1.5.9i |
On Sun, Jul 17, 2005 at 12:21:35PM +0100, James Youngman wrote:
> Adding the -h option [...]
> I haven't implemented this yet.
Rats, I didn't proof-read the patch. This part should not (yet) be in there:
> --- src/chmod.c 29 Jun 2005 16:27:37 -0000 1.113
> +++ src/chmod.c 17 Jul 2005 11:01:33 -0000
> @@ -235,6 +235,21 @@
> ok = false;
> }
> }
> + else
> + {
> +#if HAVE_LCHMOD
> + if (lchmod (file, new_mode) == 0)
> + chmod_succeeded = true;
> + else
> + {
> + if (! force_silent)
> + error (0, errno, _("changing permissions of symbolic link %s"),
> + quote (file_full_name));
> + ok = false;
> + }
> +#endif
> + }
> +
> }
>
> if (verbosity != V_off)
Sorry about that.
regards,
James.