Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-30-2005, 12:56 PM   #1
Registered: Feb 2002
Posts: 322

Rep: Reputation: 30
Force samba client to enforce dos time stamps

This question may have been answered before, but I can't see to find any info about it. I can find info about the server component of samba, but not the client.

I have a laptop running Fedora Core 3. From konqueror, I am copying photos from a Windows XP computer to a dos partition (for multiboot access). Timestamps on the photos must be preserved. Linux, however, is putting the date of the copy on the photos and ignoring the original date and time.

So far, I've had to boot into windows to do the copy... is there a way to force the samba client to preserve the dos time stamps? If not... I will have to continue to do it from windows (and who wants to do that??)

Any advice would be appreciated...
Old 01-30-2005, 04:36 PM   #2
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
it may be easier to mount the partition locally and copy with normal *nix tools (or rsync or whatever). This will preserve your timestamps as far as i know (i don't have a fat32 partition to test this on but i think it should work ok).

Let us know how you go
Old 02-06-2005, 01:05 PM   #3
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
Just an update....

rsync -rt /src /dest

does the trick.



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
How to force a driver at boot time? mraray Linux - Software 2 11-29-2005 03:04 PM
Protecting Apache from DOS & Brute Force wwnexc Linux - Software 3 11-01-2005 05:30 AM
Samba time-stamps files incorectly k41184 Linux - Software 1 10-02-2005 08:24 AM
trying to set samba to only allow access to one client at any given time babyphil Linux - Networking 2 06-20-2005 05:21 PM
Force 100FD at boot time doza Linux - Networking 2 08-27-2004 01:55 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:17 AM.

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