Christos Bessios wrote:

I have snv_122 on my laptop. From that laptop I mount a Windows 2003 share 
using:

$ mount -F smbfs //domain\;[email protected]/share ~/myshare

Then I browse myshare with nautilus, and double-click the file. Gedit opens and 
immediately presents an error:

Cannot open file /export/home/christos/myshare/t.txt. Operation not applicable.

The strange thing is that if I do not use mount_smbfs to mount the share but 
instead use Places->Connect to server, then I can perfectly edit the file with 
gedit and save it.

Hi Christos,

If you use "mount -F smbfs", you get the native CIFS client, and you
are directly editing the file.  We have an integration issue with
the CIFS client and Nautilus at present - Nautilus expects to be
able to do a filesystem operation we don't support yet.

If you browse to it from Nautilus without the mount, Nautilus uses
Samba's SMB library to list and access files, and if you try to
edit them, I believe it makes a copy and lets you edit the copy,
saving the result when your editor exits.  Again, that's a bit of
integration work we have not yet done.

Rob T
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss

Reply via email to