coreutils
[Top][All Lists]
Advanced

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

chmod/chown/chgrp behavior change


From: Paul FM
Subject: chmod/chown/chgrp behavior change
Date: Thu, 16 Apr 2015 17:01:41 -0500
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30

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.



chmod --version
chmod (GNU coreutils) 8.21
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David MacKenzie and Jim Meyering.




--
---------------------------------------------------------------------
The views and opinions expressed above are strictly
those of the author(s).  The content of this message has
not been reviewed nor approved by any entity whatsoever.
I should not be considered an "AUTHORITY" on any subject.
---------------------------------------------------------------------
Paul FM               Info: http://www.umn.edu/~paulfm/
---------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]