Eclipse & Samba

241 views
Skip to first unread message

hockeypfef

unread,
Apr 18, 2007, 10:55:50 AM4/18/07
to CFEclipse Users
When using eclipse with samba, I am able to read and write. However,
when I switch from eclipse to firefox, it always comes back with this
message "The file has been changed on the file system. Do you want to
load the changes?"

I mount the drive like this:
mount -t cifs -o username=username,password=password //IP_ADDRESS/
SHARE_NAME /mnt/MOUNT_FOLDER

It is a Windows Network drive.

Any ideas why this is happening and how to fix it?

I am using the latest CFEclipse.

Sonny Savage

unread,
Apr 19, 2007, 5:54:31 AM4/19/07
to cfeclip...@googlegroups.com
I'm not sure what is causing this to happen for you.  The common cause in a Windows environment is that the virus scanner has network drive scanning enabled and "touches" the files.  I would look for some similar process running on your machine.

hockeypfef

unread,
Apr 19, 2007, 8:34:00 AM4/19/07
to CFEclipse Users
Thanks for the suggestion.

I have searched for similar process, but I can't find any.

I am using Ubuntu 6.10 with Eclipse 3.2 and CFEclipse 1.3.1.

Any other suggestions?

On Apr 19, 5:54 am, "Sonny Savage" <sonnysav...@gmail.com> wrote:
> I'm not sure what is causing this to happen for you. The common cause in a
> Windows environment is that the virus scanner has network drive scanning
> enabled and "touches" the files. I would look for some similar process
> running on your machine.
>

Mark Flewellen

unread,
Apr 19, 2007, 4:18:36 PM4/19/07
to cfeclip...@googlegroups.com
I would imagine this is not a problem with Ubuntu or cfeclipse, and more likely it is something that is occuring on the windows server/workstation you are accessing over the share. I have the same set up as you and have no problems accessing files over a samba share.

Mark

hockeypfef

unread,
Apr 19, 2007, 4:47:03 PM4/19/07
to CFEclipse Users
Well, it works fine in windows. I think it is a problem with the way
I am mapping the server:

mount -t cifs -o username=username,password=password //IP_ADDRESS/
SHARE_NAME /mnt/MOUNT_FOLDER

Not sure tho.

hockeypfef

unread,
Apr 19, 2007, 4:48:47 PM4/19/07
to CFEclipse Users
I have also tried this in my fstab:

//IP_ADDRESS/SHARENAME /mnt/MOUNT_FOLDER cifs credentials=/
root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,rw 0
0

tmar...@gmail.com

unread,
May 8, 2007, 9:58:50 AM5/8/07
to CFEclipse Users
Hi all,

I was having also the same problem as you all described above. I am
using Ubuntu 6.10 and Eclipse 3.2.1.

Problem was solved when I mounted via samba the web server using smbfs
instead of cifs. I really don't know why but the annoying message is
gone!

Regards,

Toni M.

hockeypfef ha escrit:

pasholy2001

unread,
May 8, 2007, 2:04:03 PM5/8/07
to CFEclipse Users
The problem is with cifs. it will happen no matter what IDE you use -
Eclipse,Zend,... I had this problem with cifs version 1.47. Do
`modinfo cifs` and you can see the version.

If you want to build your own get 1.48a from http://us1.samba.org/samba/ftp/cifs-cvs/
and look over here for external module building instructions
http://www.punknix.com/?q=node/109.
And replace your current cifs module with this one.
path is /lib/modules/..../cifs.ko

Or you'll have to wait till the next kernel modules image or whatever
package will update that.

On May 8, 7:58 am, "tmart...@gmail.com" <tmart...@gmail.com> wrote:
> Hi all,
>
> I was having also the same problem as you all described above. I am
> using Ubuntu 6.10 and Eclipse 3.2.1.
>
> Problem was solved when I mounted via samba the web server using smbfs

> instead ofcifs. I really don't know why but the annoying message is


> gone!
>
> Regards,
>
> Toni M.
>
> hockeypfef ha escrit:
>
> > I have also tried this in my fstab:
>
> > //IP_ADDRESS/SHARENAME /mnt/MOUNT_FOLDER cifs credentials=/
> > root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,rw 0
> > 0
>
> > On Apr 19, 4:47 pm, hockeypfef <pfeff...@gmail.com> wrote:
> > > Well, it works fine in windows. I think it is a problem with the way
> > > I am mapping the server:
>

> > > mount -tcifs-o username=username,password=password //IP_ADDRESS/


> > > SHARE_NAME /mnt/MOUNT_FOLDER
>
> > > Not sure tho.
>
> > > On Apr 19, 4:18 pm, Mark Flewellen <nzf...@googlemail.com> wrote:
>
> > > > I would imagine this is not a problem with Ubuntu or cfeclipse, and more
> > > > likely it is something that is occuring on the windows
> > > > server/workstation you are accessing over the share. I have the same set
> > > > up as you and have no problems accessing files over a samba share.
>
> > > > Mark
>
> > > > hockeypfef wrote:
> > > > > Thanks for the suggestion.
>
> > > > > I have searched for similar process, but I can't find any.
>
> > > > > I am using Ubuntu 6.10 with Eclipse 3.2 and CFEclipse 1.3.1.
>
> > > > > Any other suggestions?
>
> > > > > On Apr 19, 5:54 am, "Sonny Savage" <sonnysav...@gmail.com> wrote:
>
> > > > >> I'm not sure what is causing this to happen for you. The common cause in a
> > > > >> Windows environment is that the virus scanner has network drive scanning
> > > > >> enabled and "touches" the files. I would look for some similar process
> > > > >> running on your machine.
>
> > > > >> On 4/18/07, hockeypfef <pfeff...@gmail.com> wrote:
>
> > > > >>> When using eclipse with samba, I am able to read and write. However,
> > > > >>> when I switch from eclipse to firefox, it always comes back with this
> > > > >>> message "The file has been changed on the file system. Do you want to
> > > > >>> load the changes?"
>
> > > > >>> I mount the drive like this:

> > > > >>> mount -tcifs-o username=username,password=password //IP_ADDRESS/

Reply all
Reply to author
Forward
0 new messages