Comment 7 for bug 34813

Revision history for this message
Dhonn (dhonn) wrote :

Automatic backup has been off the whole time. I turned it off because of this and still it has the problem.

I simply made a folder website
I then have an init.d script that executes this code
mount -t cifs -o password= //192.168.1.100/website /home/dhonn/website

I now can edit any file in the website folder with any program other than gedit just fine.

Here is my simple smb.conf file:

I've omitted all but the changes Ive personally made

security = share

[website]
        comment = Website
        guest ok = yes
        read only = no
        path = /home/dhonn/website
        force user = dhonn
        force group = dhonn
        case sensitive = yes
        public = yes
        browseable = no

this smb.conf file is on my server

I have no clue what gedit is doing but its not acting right. And yes its just gedit. No other program has this problem.

I'll give you a run down of what im doing:

Create a new text file in gedit.
Save it in the website folder.
Click save again and its giving me an error like I've shown you before and I click Save Anyway.

Now if i start to edit the file then save. It gives me the same error again and at the same time changing the file to excutable.

Here is the error again:

"The file /home/dhonn/website/Unsaved Document 1 has been modified since reading it.

If you save it, all the external changes could be lost. Save it anyway?"

There is nothing externally making changes to my file.

So could the problem be samba altering the file after Ive made ive saved the file?