If the file is mounted via FUSE, you can prolly get more control from
userland (ie, sans root)...

Ben


On Thu, Jan 29, 2009 at 5:17 PM, David Duncan <[email protected]> wrote:
> You could change runlevel to single-user mode, or change it inside a
> virtual machine instance that thinks it's a different time, or tar
> it/bit fiddle the entry/untar it, or boot from a livecd/mount the
> harddisk/change time/touch, etc.
>
> On Wed, Jan 28, 2009 at 2:03 AM, horst <[email protected]> wrote:
>> I don't accept this as an aswer :-)
>>  My question was about arbitrarily changing the ctime of a file, or larger
>> set of files. Down to the second, to the integer in the file stat structure.
>> Like with touch with a time argument, or -r referenceFile.
>> Like with touch and the -a or -m arguments -- I was asking for a -c
>> argument!
>>
>> To achive that manually by changing the system time sounds like playing a
>> video game, hit-and-miss. Plus other files may get stampd unintentionally
>> during that period, and log entries may be created.
>>
>>  - Horst
>>
>>> Date: Wed, 28 Jan 2009 00:39:43 -0800
>>> From: Alan <[email protected]>
>>> Reply-To: Eugene Unix and Gnu/Linux User Group <[email protected]>
>>> To: Eugene Unix and Gnu/Linux User Group <[email protected]>
>>> Subject: Re: [Eug-lug] ls script help
>>>
>>> Mike Cherba wrote:
>>>>
>>>> On Wed, 2009-01-28 at 00:17 -0800, Alan wrote:
>>>>>
>>>>> Which apparently doesn't change the ctime on linux.
>>>>>
>>>> Yup.  Which is why you change the system time.  Ccime is maintained by
>>>> the system for good reasons.
>>>>
>>>>
>>>
>>> I know I have used a *nix in the past 10 years in which touch could change
>>> the ctime. A bastardized version of SCO, maybe?
>>> It's now going to bug me until I figure it out.
>>>
>>> -ajb
>>> _______________________________________________
>>> EUGLUG mailing list
>>> [email protected]
>>> http://www.euglug.org/mailman/listinfo/euglug
>>>
>> _______________________________________________
>> EUGLUG mailing list
>> [email protected]
>> http://www.euglug.org/mailman/listinfo/euglug
>>
> _______________________________________________
> EUGLUG mailing list
> [email protected]
> http://www.euglug.org/mailman/listinfo/euglug
>
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to