coreutils
[Top][All Lists]
Advanced

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

Re: chmod changing ctime even if no mode change


From: Pádraig Brady
Subject: Re: chmod changing ctime even if no mode change
Date: Sun, 13 Oct 2013 21:03:11 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 10/13/2013 06:58 PM, Bernhard Voelker wrote:
> Hi Padraig,
> 
> On 10/13/2013 07:11 PM, Pádraig Brady wrote:
>> On 10/13/2013 01:43 PM, Bernhard Voelker wrote:
>>> In a new openSUSE bug [1], a user complains that chmod changes a
>>> file's change status timestamp although chmod did not have to change
>>> any of the permission bits, e.g.
>>>
>>>   $ touch test
>>>   $ chmod 700 test
>>>   $ stat test
>>>   $ chmod 700 test
>>>   $ stat test
> 
>> This is a tricky one, previously discussed at:
>> http://lists.gnu.org/archive/html/bug-coreutils/2010-01/msg00303.html
> 
> hmm, the only instance to know whether there would be side
> effects with ACLs etc. is the kernel. And it's also the kernel
> who is marking the change status timestamp implicitly.
> Shouldn't this issue be handled there then?

It would seem hacky to do otherwise.

cheers,
Pádraig.




reply via email to

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