file permissions

take a look at doc attached

I have a folder /opt01/app/iknci which is a nfs mounted folder

there is a folder html in this directory ,
the date of modify on this folder is Apr11 2009 as is seen in the snap attached

now if you go in the folder html
the last modified file is on Dec 03 as seen in the attachment

do any one have any idea why the base folder "html" did not update the date to  last modified file date withing the folder.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bsa_jugAuthor Commented:
file attached

the timestamps of a directory only get updated when an element (file/subdirectory)
is added to it or removed from it, not when an element is updated.


maybe there is a misunderstanding of what a directory actually is.

Each element of a filesystem (file, directory etc.) is associated with an inode.

A directory  is nothing more than a simple list of names and the corresponding inode numbers,
so the inode of the directory itself only needs to get updated when this list grows or shrinks.

It's the mentioned inode where administrative information is stored.

Typical contents of an inode are

- location of the item's contents on disk
- item type (file, directory, link ...)
- item's size
- the timestamps you're referring to in your question (atime, mtime, ctime)
- owner, group, mode ...



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bsa_jugAuthor Commented:
thanks wmp ,
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.