Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-10-2005, 07:34 AM   #1
LQ Newbie
Registered: Jan 2003
Location: Denmark
Distribution: Fedora Core 3
Posts: 4

Rep: Reputation: 0
Question Help - My Samba share changes the timestamp when copying files to it.. Preserve Time.

I have a Samba share on a Fedora Core 3. When I copy files to it from my windows box it give all the files the same date/time (the current date and time), instead of giving it the same date as the files already have. Does anyone know how to solve this problem. I want to Preserve to original time and date stamps.
Old 05-10-2005, 07:40 AM   #2
LQ Newbie
Registered: Jan 2003
Location: Denmark
Distribution: Fedora Core 3
Posts: 4

Original Poster
Rep: Reputation: 0
I'm running: Samba version 3.0.8pre1-0.pre1.3 on Fedora Core 3 64-bit Athlon

Some of my smb.conf file:

workgroup = MYGROUP

comment = fileshare
path = /shares
public = yes
printable = no
read only = no
dos filemode = yes
writeable = yes
create mode = 0666
directory mode = 0777
Old 06-28-2005, 09:34 AM   #3
LQ Newbie
Registered: Jun 2005
Location: Germany
Posts: 1

Rep: Reputation: 0
samba timestamp problem


seems that the line "force user" in the smb.conf helps :

comment = myshare
path = /export/myshare
force user = myuser
read only = No
browseable = No

it's funny but you have to decide if you need the information of the last guy who accessed the file or the correct date


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
preserve user/group when copying files km4hr Linux - Software 1 01-11-2005 05:21 PM
Preserve file permissions when copying from NTFS to a Samba share? somedude Linux - Software 4 06-11-2004 09:20 AM
Samba + Copying files akarako Linux - Networking 0 03-19-2004 09:15 AM
Copying files from Win98 to Samba spandit Linux - Networking 2 11-19-2003 10:12 AM
copying files to NFS share goes into uninterruptible sleep damien Linux - Networking 1 10-05-2003 06:48 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:41 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration