Find the answer to your Linux question:
Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Folders modification date bug

    Hi all im a bit noob with Linux, sorry for any incovenience

    We have a problem at work with Red Hat Enterprise Linux 3 Advanced Server with the folders modification date when an application introduces files on that folder, if you list the folder the date that is showed is previous that the dates of the files it contains. Like that:

    larimar:ias /ias/tmas >:ls -ltr
    total 1668
    drwx------ 2 root root 16384 nov 29 16:51 lost+found
    -rw------- 1 ias ias 343 ene 21 16:53 nohup.out
    -rw-r--r-- 1 ias ias 2415 ene 21 16:53 LogsTD_PUSI
    -rw-r--r-- 1 ias ias 0 ene 21 16:54 tramas.txt
    -rw-r--r-- 1 ias ias 1659047 ene 22 08:53 LogsTR_PUSI
    drwxr-xr-x 2 ias ias 4096 ene 22 16:57 4:8390910-8389229
    drwxr-xr-x 2 ias ias 4096 ene 22 17:00 4:8389229-8390910
    drwxr-xr-x 2 ias ias 4096 ene 22 17:00 2:409-620
    drwxr-xr-x 2 ias ias 4096 ene 22 17:00 2:620-409
    larimar:ias /ias/tmas >:cd 4:8389229-8390910
    larimar:ias /ias/tmas/4:8389229-8390910 >:ls -ltr
    total 5248
    -rw-r--r-- 1 ias ias 1048393 ene 22 17:30 01196069400-300.tms
    -rw-r--r-- 1 ias ias 2175139 ene 22 17:32 01196069700-300.tms
    -rw-r--r-- 1 ias ias 2134016 ene 22 17:34 01196070000-300.tms

    Hope anyone have an idea of whats happening.

    Thx a lot for ur attention

    EDIT: More information:

    i have a solution now (delete folders) but im still a bit upset with the problem. The *.tms files that are created into the directories are made by a captured traffic to simulate the behaviour of the system, so always the captured traffic creates the same files (the first number of *.tms is a timestamp - number of seconds since 01/01/1970).

    So thats the problem, when you delete all *.tms files of a folder and launch the captured traffic it creates the files and the date is updated, but when you dont delete them and the captured traffic modifies the previous *.tms we have the above situation, with the files inside with the date updated and the date of the directory that contains the files with a previous date.

    Anyone have a solution of this behavior or it works as intended?? Any enviroment variable to modify it??

    Thx a lot and sorry for my english
    Last edited by sorbid; 01-23-2008 at 03:23 PM. Reason: More information

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts