LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-17-2012, 11:12 PM   #1
kikinovak
Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 767

Rep: Reputation: 272Reputation: 272Reputation: 272
Strange bug with Open Office and Samba


Hi,

Our school's network (Slackware 14.0 server and desktop clients) mainly uses NFS for file sharing, but I've also setup a Samba file and print server for those teachers and students who have Windows and Mac OS X laptops.

I'm experiencing a strange bug with files on the Samba shares. I can open PDF files with Evince OK. I can open simple text files with Leafpad. But I can't open ODT or ODS files with Open Office.

I've googled a bit and found out that the bug seems to be in Open Office, which apparently can't always open files on Samba shares correctly.

Now I've experienced a bit more on my office's network, which has got more or less the same setup than the one in the school: NFS and NIS on a Slackware 14.0 server, Slackware 14.0 + Xfce + various addons on all the desktop clients. To my bewilderment, everything works OK here. I can create an ODT file with OO Writer, move it to the Samba server, and then open it from another desktop with another OO Writer. So Open Office doesn't seem to be the culprit, the more so since these are the exact same binaries - and the same version - I installed in the school.

Which leaves me clueless.
 
Old 11-17-2012, 11:27 PM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,357
Blog Entries: 27

Rep: Reputation: 1125Reputation: 1125Reputation: 1125Reputation: 1125Reputation: 1125Reputation: 1125Reputation: 1125Reputation: 1125Reputation: 1125
Is the samba share with the problem .odt and .ods files writeable by the user? OOo needs to write a hidden lockfile in the same place as the file it is editing (it is called .~lock.<whatever>.odt#
 
Old 11-19-2012, 10:59 AM   #3
kikinovak
Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 767

Original Poster
Rep: Reputation: 272Reputation: 272Reputation: 272
Quote:
Originally Posted by catkin View Post
Is the samba share with the problem .odt and .ods files writeable by the user? OOo needs to write a hidden lockfile in the same place as the file it is editing (it is called .~lock.<whatever>.odt#
OK, I found the solution to the problem, and it was indeed a permission problem, though a nasty one, not the kind you'd expect. Some files could be opened on some machines with some applications, but the overall behaviour was rather erratic. I could access everything on my laptop, though not on the desktop clients.

After an unnerving couple of hours, I found out. Our desktop clients' home directories are located centrally on the server and exported via NFS. Now NFS' default behaviour is to prevent root from accessing the user home directories. It looks like this also prevents GVFS from working correctly. I edited /etc/exports on the server and added the no_root_squash option. All of a sudden, everything worked as expected.

Once again, I managed to avoid a career as a boat repairman on an island without computers.
 
  


Reply

Tags
samba


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MS office files open in read only mode from samba share Toushi Linux - Networking 6 05-19-2011 11:39 AM
open office crashed? gave long bug report SSJGoku Linux - Newbie 1 05-15-2009 07:34 PM
Open Office wont load files from PC using SAMBA cleanriver Linux - Software 1 03-30-2008 07:40 PM
SUSE 10, Samba + Open Office EclipseAgent Suse/Novell 3 10-28-2005 03:28 PM
Right Mouse Click Bug In Open Office 2 0n Ubuntu 5.10 jasongunnisthedevil Linux - Software 0 10-17-2005 07:54 AM


All times are GMT -5. The time now is 02:09 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration