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...
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:
Keywords: needhelp
Depends on:
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: ---


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
files served over SMB (both Windows 2000 and Samba) in Linux fail to open in (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 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

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,

Comment 1 kpalagin 2008-01-18 13:37:34 UTC
Maybe dup to
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:

thank you for your beautiful products :-)