LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 05-10-2005, 07:34 AM   #1
hheejj
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
hheejj
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:


[global]
workgroup = MYGROUP

[fileserver]
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
hajott
LQ Newbie
 
Registered: Jun 2005
Location: Germany
Posts: 1

Rep: Reputation: 0
samba timestamp problem

hi,

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

[myshare]
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
 
  


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
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


All times are GMT -5. The time now is 01:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration