×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

"ls -al" on a cifs mounted filesystem shows file creation and not modified date

"ls -al" on a cifs mounted filesystem shows file creation and not modified date

"ls -al" on a cifs mounted filesystem shows file creation and not modified date

(OP)
Hi All,

"ls -al" on a cifs mounted filesystem (Windows Server) shows file creation and not modified date.

I'm using AIX7.1. Is this a known bug ? Is there a fix or a config setting somewhere ?

Thanks all..

Jasper

RE: "ls -al" on a cifs mounted filesystem shows file creation and not modified date

Try running
istat <cifs file system name>

RE: "ls -al" on a cifs mounted filesystem shows file creation and not modified date

(OP)
Hi

istat shows the following:

# istat /epsi/batch/dev/cifs
Inode 2 on device 32768/29 Directory
Protection: rwxrwxr-x
Owner: 221(epnba) Group: 208(epnba)
Link count: 1 Length 16384 bytes

Last updated: Thu Jan 1 02:00:00 1970
Last modified: Wed Sep 4 13:49:24 2013
Last accessed: Wed Sep 4 21:24:05 2013

#

also see the following timestamps:

drwxrwxr-x 1 epnba epnba 16384 Sep 4 13:51 ./
drwxrwxr-x 1 epnba epnba 16384 Sep 4 13:49 ../
-rwxrwxr-x 1 epnba epnba 49 Sep 4 13:51 Dummy.txt*
-rwxrwxr-x 1 epnba epnba 27 Dec 13 2000 Dummy1.txt*
-rwxrwxr-x 1 epnba epnba 17 Dec 13 2000 Dummy2.txt*
-rwxrwxr-x 1 epnba epnba 17 Dec 13 2000 Dummy3.txt*

Note: the file "Dummy1.txt" was modified today..

Thanks!
Jasper

RE: "ls -al" on a cifs mounted filesystem shows file creation and not modified date

So, whats the deal? you saw what you needed to right?

RE: "ls -al" on a cifs mounted filesystem shows file creation and not modified date

(OP)
Hi

No, not right..

This file was modified yesterday, but look at the date..

-rwxrwxr-x 1 epnba epnba 27 Dec 13 2000 Dummy1.txt*

J


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close