LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-03-2007, 12:08 AM   #1
Rotwang
Member
 
Registered: Jan 2004
Distribution: CentOS
Posts: 281

Rep: Reputation: 30
samba doesn't change modification dates?


I have a windows share (fat32) mounted on my linux box with samba. If I change a text file on the linux side and save it, the modification date of the file is updated on the linux side. But, if I change the file on the windows side, the modification date doesn't change on the linux side.

The file DOES change, it has the new text I saved into it on the windows side, but the modification date doesn't.

Can I configure samba to make it get this right? This is messing up subversion, which doesn't think the file has changed since the mod date hasn't. (remember fat32 *does* have modification dates!)


Centos 5.0

$ /usr/sbin/smbd -V
Version 3.0.23c-2
 
Old 10-03-2007, 01:39 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You might try the "dos filetimes = yes" option. However, are you sure that on windows you aren't looking at the create time instead of the modification time?
 
Old 10-03-2007, 10:24 AM   #3
Rotwang
Member
 
Registered: Jan 2004
Distribution: CentOS
Posts: 281

Original Poster
Rep: Reputation: 30
I'm not checking the modification time in windows, I'm looking at it on the command line on the linux side. If I change the file on the windows side, it's modification date doesn't change on the linux side.

The docs for dosfiletimes says it's for the sake of the windows side, unfortunately. It's kind of the reverse of the problem...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Checking directories modification dates crofty13 Linux - Software 1 06-25-2007 10:50 AM
New Samba date modification problem mdkelly069 Linux - Networking 14 01-12-2004 11:42 AM
Help with Samba and date modification mdkelly069 Linux - Networking 6 11-28-2003 06:26 PM
Cannot change samba password from XP kragbax Linux - Networking 1 06-16-2003 12:57 PM
Samba modifiying Win NT file dates: Why twopence Linux - Software 1 10-19-2001 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration