[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chmod/chown/chgrp behavior change
From: |
Pádraig Brady |
Subject: |
Re: chmod/chown/chgrp behavior change |
Date: |
Thu, 16 Apr 2015 23:34:34 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 16/04/15 23:01, Paul FM wrote:
> Many years ago I checked and chmod only changed the MTIME of a file if
> it needed to make a change to the permissions, now the mtime is changed
> on every file (even if no change is needed).
>
> The -c option works as expected (only tells you if a change was needed
> to meet your command.
>
> So is this a bug, or was it changed for a spcific reason ?
>
> Is there a command line option to stop it from doing this?
> Has this already been fixed (and I just need to update - version info
> below).
>
> The chmod distributed with FreeBSD still works as I would expect.
>
>
> Note - we found this behaviour changed when trying to figure out why our
> incremental backups are so large (it may have been changed for many years).
>
> Thanks.
Please see http://bugs.gnu.org/15835 for why
we've decided this needs to be implemented in the kernel.
thanks,
Pádraig.