Networking Forums

Networking Forums > Computer Networking > Linux Networking > Saving text file on SMB share - file has changed

Reply
Thread Tools Display Modes

Saving text file on SMB share - file has changed

 
 
James Telford
Guest
Posts: n/a

 
      07-24-2007, 03:12 PM
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
 
 
 
 
Bill Marcum
Guest
Posts: n/a

 
      08-09-2007, 10:05 PM
On Tue, 24 Jul 2007 15:12:45 GMT, James Telford
<(E-Mail Removed)> wrote:
>
>
> 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.
>

Are the clocks synchronized between these machines? You may need to
install ntp or chrony.



--
You are always doing something marginal when the boss drops by your desk.
 
Reply With Quote
 
Hactar
Guest
Posts: n/a

 
      09-16-2007, 01:07 AM
In article <NFopi.1739$(E-Mail Removed)>,
James Telford <(E-Mail Removed)> wrote:
> 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.


I'm guessing the server is set to convert LF line-endings into CR LF
ones. Is that the case?

--
"The Web brings people together because no matter what kind of a
twisted sexual mutant you happen to be, you've got millions of pals
out there. Type in 'Find people that have sex with goats that are on
fire' and the computer will say, 'Specify type of goat.'" -- Rich Jeni
 
Reply With Quote
 
Chris Davies
Guest
Posts: n/a

 
      09-18-2007, 10:12 AM
In article <NFopi.1739$(E-Mail Removed)>,
James Telford <(E-Mail Removed)> 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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP server config export to text file Mel K. Windows Networking 0 10-07-2009 04:19 PM
Excel file slow saving 2003 R2 Ertürk ÇEVİK Windows Networking 0 06-10-2007 09:42 AM
file sharing - text based gui JyGius Linux Networking 4 09-27-2006 05:37 PM
DNS text file? Kevin Windows Networking 2 03-31-2005 07:09 AM
File Sharing with MS Office Errors When Saving Tim Windows Networking 1 11-21-2003 08:25 PM



1 2 3 4 5 6 7 8 9 10 11