Issue 83018 - [Samba] OOo doesn't correctly handle permissions on SMB files served over VFS in Gnome and KDE
Summary: [Samba] OOo doesn't correctly handle permissions on SMB files served over VFS...
Status: UNCONFIRMED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 2.3
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needhelp
Depends on:
Blocks:
 
Reported: 2007-10-26 19:35 UTC by bureado
Modified: 2014-02-12 19:05 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bureado 2007-10-26 19:35:29 UTC
Several users [1][2][3] have already reported that accessing OpenOffice.org
files served over SMB (both Windows 2000 and Samba) in Linux fail to open in
OpenOffice.org (at least 2.2 and 2.3) with the generic error message: "General
Internet Error"

I've tested this using abstractions such as Gnome's VFS and KDE's KIO, and it
seems that OpenOffice.org doesn't handle permissions and/or locks correctly. In
both Gnome and KDE you need to either mount the filesystem or use other
strategies (in Gnome, 'Connect to server' won't work but in KDE using smb4k will
do since it actually mounts the filesystem)

The problem disappears in Samba if the owner of the file matches the username on
the credentials, which is also achieved if all users are 'admin users' in Samba. 

Otherwise, in most cases, trying to browse SMB shares using KDE's or GNOME's
filesystem abstractions and open OOo files will result on 'General Internet
Error' if the user is not an owner of the file. Having the user on a group which
owns the file and has write rights doesn't work either. Extended ACL's doesn't work.

Also, a lock problem has already been discussed in the Samba mailing list [4]
and it seems that OOo doesn't handle locks correctly.

This problem is currently making OOo unusable on files stored in our SMB shares
on a 5000+ users network. We tried using 2.2 and 2.3, but that doesn't make the
difference.

Finally, other applications are able to use the same files over the same
abstractions, for example gedit and evince in Gnome.

Thank you very much for your time and work on OOo,
Jose

[1] http://www.oooforum.org/forum/viewtopic.phtml?p=255433
[2] https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/94326
[3] http://thread.gmane.org/gmane.network.samba.general/33951
[4] http://thread.gmane.org/gmane.network.samba.general/41976/focus=42103
Comment 1 kpalagin 2008-01-18 13:37:34 UTC
Maybe dup to http://qa.openoffice.org/issues/show_bug.cgi?id=14986?
Comment 2 nadavkav 2008-02-01 14:02:49 UTC
we have similar issues with OO installations
on several school across the district.
since students save/open documents that are stored on file servers.
(mainly Samba linux servers)

i have submitted a bug report with KDE and i was told it is an OO issue.
here is the bug report: http://bugs.kde.org/show_bug.cgi?id=157022

thank you for your beautiful products :-)