tech-userlevel archive

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

Re: Proposed chown(8)/chgrp(1) enhancement



Am Fri, Apr 28, 2023 at 11:25:03PM +0000 schrieb RVP:
> On Fri, 28 Apr 2023, Paul Goyette wrote:
> 
> > I propose the attached enhancement to chown/chgrp to avoid setting
> > a new user/group value if the desired values are already set.  The
> > change is pretty simple.
> > 
> 
> I don't think we need a flag for this. I think what you're proposing
> should just be the default behaviour.

chown updates st_ctim, so this would be a user-visible change. I
wouldn't also be surprised if there are filesystems where chown can
result in additional metadata changes, e.g. dropping ACLs?

Joerg


Home | Main Index | Thread Index | Old Index