[Bug 293548] Re: can't save file in samba share

halfsoul joelishness at mailbolt.com
Mon Aug 24 02:23:44 BST 2009


*** This bug is a duplicate of bug 286828 ***
    https://bugs.launchpad.net/bugs/286828

A fix has NOT been released.  Please, re-open this bug!

System: Ubuntu 9.04 (Jaunty), kernel 2.6.28-15-generic
Affected software: OpenOffice.org 3.0.1, gedit

To duplicate:
joel at ubuntu-desktop:~$ sudo gedit /etc/fstab
"# Network Drive via Samba
#//192.168.0.200/Volume_1 /media/DNS-323 cifs rw,nounix,auto,password= 0 0
//192.168.0.200/Volume_1 /media/DNS-323 cifs rw,auto,password= 0 0"

joel at ubuntu-desktop:~$ sudo umount /media/DNS-323
joel at ubuntu-desktop:~$ sudo mount -a

Open "bills_090813.ods"
Save As "bills_090823" (note that this is a different filename) = error:
"Error saving the document bills_090813:
Object not accessible.
The object cannot be accessed
due to insufficient user rights."
OK  (note that the filename in the error is the originally-opened name)

Save As "bills_090823" (trying again)
"Error saving the document bills_090813:
General Error.
General input/output error."
OK  (note that the filename in the error is the originally-opened name)
File "bills_090823.ods" gets created, size 0 bytes

Save As "bills_090823"
"The file already exists. Overwrite?"
Yes

"Error saving the document bills_090813:
Object not accessible.
The object cannot be accessed
due to insufficient user rights."
OK  (note that the filename in the error is the originally-opened name)

Workaround:
joel at ubuntu-desktop:~$ sudo gedit /etc/fstab
# Network Drive via Samba
//192.168.0.200/Volume_1 /media/DNS-323 cifs rw,nounix,auto,password= 0 0
#//192.168.0.200/Volume_1 /media/DNS-323 cifs rw,auto,password= 0 0

joel at ubuntu-desktop:~$ sudo umount /media/DNS-323
joel at ubuntu-desktop:~$ sudo mount -a

Delete "bills_090823.ods" (the 0 byte file from earlier failed attempt)
Open "bills_090813.ods"
Save As "bills_090823" = no errors, file "bills_090823.ods" gets created, size & contents correct

This workaround is inappropriate for use, because with the nounix
mounting option, file modified date/time gets forgotten when
copying/moving files.  Please actually release a fix.

-- 
can't save file in samba share
https://bugs.launchpad.net/bugs/293548
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu (via bug 286828).



More information about the Ubuntu-server-bugs mailing list