Saving text file on SMB share - file has changed

This is a discussion on Saving text file on SMB share - file has changed within the Linux Networking forums, part of the Linux Forums category; Hi, I'm having a problem working on a remote Samba share. When I edit a (text) file on this ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-24-2007
James Telford
 
Posts: n/a
Default Saving text file on SMB share - file has changed

Hi,

I'm having a problem working on a remote Samba share. When I edit a
(text) file on this share using gedit for example, I get the message that
the file has changed on disk when I try to save it. This is a problem in
Eclipse IDE also.

Normal access to the files is fine and they do save eventually.

The server hosting the share is Fedora 7, as is the client.

Interestingly this is not a problem with either a Windows or Mac client,
therefore I assume I am mounting the share incorrectly:

mount -t cifs host mount -o username=username -p password

(with smbfs is the same result).

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 09-18-2007
Chris Davies
 
Posts: n/a
Default Re: Saving text file on SMB share - file has changed

In article <NFopi.1739$ph7.1548@newsfe5-win.ntli.net>,
James Telford <james.telford@gmail.com> wrote:
> I'm having a problem working on a remote Samba share. When I edit a
> (text) file on this share using gedit for example, I get the message that
> the file has changed on disk when I try to save it. This is a problem in
> Eclipse IDE also.


> Normal access to the files is fine and they do save eventually.
> The server hosting the share is Fedora 7, as is the client.


Sounds like you may have a time synchronisation issue.

Is the remote share a FAT filesystem, by any chance? If so, read up on
samba and FAT timestamps and you'll see how to fix it.

Chris
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:05 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0