On Tue, Sep 02, 2008 at 08:19:38AM -0400, Michael Stone wrote:
> On Tue, Sep 02, 2008 at 11:30:46AM +0200, you wrote:
> >It would be nice if chmod (and chown and chgrp) only made changes to
> >inodes when necessary so as not to change the ctime of files.
> 
> I'm fairly certain there have also been complaints about these utilities 
> not resetting the inode even when not necessary.

That is certainly possible, if that is normal POSIX behavior.

> I'd suggest using them in conjunction with find(1) if you only want to
> modify files that don't match a particular setting.

Yup.

But it would be so much more elegant if chmod just Did The Right Thing.

Can I ask you to pass along this wishlist item to upstream and maybe ask
them why ctime must be modified even when the permissions are not?  I
would really like to know why.

-- 
Erik Rossen                               OpenPGP key: 2935D0B9
[EMAIL PROTECTED]                          If you do not know what
http://people.linux-gull.ch/rossen        to do, start with RTFM.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to