Re: [libreoffice-users] Re: [Not to group] Re: files on network shares not opening. Own ones are ok?

2014-08-31 Thread Jim Seymour
On Fri, 29 Aug 2014 16:44:49 +0200
hdv@gmail hdv.ja...@gmail.com wrote:

 On 2014-08-29 13:59, Tom Davies wrote:
  Hi :)
  Hm, but Ubuntu has no troubles with network files.  I thought i
  was on LO 3.5.7 but i might have upgraded.  I'm out of the office
  for a few hours again but could check later.
  
  Our file-server is a Debian one and done using a Samba share.  No
  other files are affected so it's only when using LO to open them.
  
[snip]
 
 Some additional data I just received from one of the colleagues.
 This problem also appeared on Windows 7 and 8 clients.

Funny this popped-up when it did.  We just had a HelpDesk report,
last week, of a similar problem.  .xls files that a user had been
opening for read for years all-of-a-sudden wouldn't open.  Windows 7
and (if memory serves) MSO 2007.  File modification dates indicated
they hadn't been modified in years.  I tested it on my desktop (Ubuntu
13.x, IIRC) and LO would churn for a while, then emit a something
wrong in the format/encoding/something kind of an error and bail.
(Sorry for the useless error message info.  I never bothered
recording it because I never believed it to be an LO problem.)

I copied the files to my local machine, using scp, and they opened
right up.  I created a parallel directory on the server, copied the
files from the original directory into that, and they opened just
fine. I deleted the original directory and renamed the new one to the
original's name, and they opened just fine.

I'm suspecting a Samba screw-up (cached metadata?), on the server, in
my case.

 But one of
 the more technically versed persons thought it might have to do
 with the quality of the network connection.
[snip]

Not in my case.  Both the server in question and my desktop are
connected to the backbone switch with very short (less than 10m)
cable runs.

Regards,
Jim
-- 
Note: My mail server employs *very* aggressive anti-spam
filtering.  If you reply to this email and your email is
rejected, please accept my apologies and let me know via my
web form at http://jimsun.LinxNet.com/contact/scform.php.

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



Re: [libreoffice-users] Re: [Not to group] Re: files on network shares not opening. Own ones are ok?

2014-08-31 Thread Steve Edmonds


On 2014-09-01 00:56, Jim Seymour wrote:

On Fri, 29 Aug 2014 16:44:49 +0200
hdv@gmail hdv.ja...@gmail.com wrote:


On 2014-08-29 13:59, Tom Davies wrote:

Hi :)
Hm, but Ubuntu has no troubles with network files.  I thought i
was on LO 3.5.7 but i might have upgraded.  I'm out of the office
for a few hours again but could check later.

Our file-server is a Debian one and done using a Samba share.  No
other files are affected so it's only when using LO to open them.


[snip]

Some additional data I just received from one of the colleagues.
This problem also appeared on Windows 7 and 8 clients.

Funny this popped-up when it did.  We just had a HelpDesk report,
last week, of a similar problem.  .xls files that a user had been
opening for read for years all-of-a-sudden wouldn't open.  Windows 7
and (if memory serves) MSO 2007.  File modification dates indicated
they hadn't been modified in years.  I tested it on my desktop (Ubuntu
13.x, IIRC) and LO would churn for a while, then emit a something
wrong in the format/encoding/something kind of an error and bail.
(Sorry for the useless error message info.  I never bothered
recording it because I never believed it to be an LO problem.)

I copied the files to my local machine, using scp, and they opened
right up.  I created a parallel directory on the server, copied the
files from the original directory into that, and they opened just
fine. I deleted the original directory and renamed the new one to the
original's name, and they opened just fine.
Did you notice the permissions and owner on the server of the older 
files and newer ones. Did the permissions change when you copied the 
files. There is also a tick box in optionsGeneral to use LO open/save 
dialogue boxes. I don't know if that changes anything.

steve


I'm suspecting a Samba screw-up (cached metadata?), on the server, in
my case.


But one of
the more technically versed persons thought it might have to do
with the quality of the network connection.

[snip]

Not in my case.  Both the server in question and my desktop are
connected to the backbone switch with very short (less than 10m)
cable runs.

Regards,
Jim



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



Re: [libreoffice-users] Re: [Not to group] Re: files on network shares not opening. Own ones are ok?

2014-08-31 Thread Jim Seymour
On Mon, 01 Sep 2014 06:41:44 +1200
Steve Edmonds steve.edmo...@ptglobal.com wrote:

 
[snip]
 Did you notice the permissions and owner on the server of the older 
 files and newer ones. Did the permissions change when you copied
 the files. There is also a tick box in optionsGeneral to use LO
 open/save dialogue boxes. I don't know if that changes anything.
[snip]

The originals had owner execute permissions, whereas the copies did
not.  The copies ended up with current modification dates.
Otherwise permissions and every other aspect of directory and files
were unchanged.

Regards,
Jim
-- 
Note: My mail server employs *very* aggressive anti-spam
filtering.  If you reply to this email and your email is
rejected, please accept my apologies and let me know via my
web form at http://jimsun.LinxNet.com/contact/scform.php.

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



Re: [libreoffice-users] Re: [Not to group] Re: files on network shares not opening. Own ones are ok?

2014-08-31 Thread Steve Edmonds


On 2014-09-01 06:54, Jim Seymour wrote:

On Mon, 01 Sep 2014 06:41:44 +1200
Steve Edmonds steve.edmo...@ptglobal.com wrote:

[snip]

Did you notice the permissions and owner on the server of the older
files and newer ones. Did the permissions change when you copied
the files. There is also a tick box in optionsGeneral to use LO
open/save dialogue boxes. I don't know if that changes anything.

[snip]

The originals had owner execute permissions, whereas the copies did
not.  The copies ended up with current modification dates.
Otherwise permissions and every other aspect of directory and files
were unchanged.


Hi.
Some guff follows, but it would be interesting to see if the owner 
executable made a difference if its somehow got mixed in with DOS 
compatibility settings.
Another possibility might be to ask on the devs list how network file 
access in LO may differ from what you find is working for other files.
I have this vague recollection on our server 2 machines ago (older 
version samba) that I could open a LO file by double clicking in the 
file browser but not in the LO file open dialogue, or vice versa. Or may 
be it was I could open a file on a network share mounted locally but not 
by browsing the network. This all came right when I updated the server 
and started with cifs.

Steve

Note that there is no bit to specify that a file is executable. DOS and 
Windows NT filesystems identify executable files by giving them the 
extensions .EXE, .COM, .CMD, or .BAT.


Consequently, there is no use for any of the three Unix executable bits 
that are present on a file in a Samba disk share. DOS files, however, 
have their own attributes that need to be preserved when they are stored 
in a Unix environment: the archive, system, and hidden bits. Samba can 
preserve these bits by reusing the executable permission bits of the 
file on the Unix side - if it is instructed to do so. Mapping these 
bits, however, has an unfortunate side-effect: if a Windows user stores 
a file in a Samba share, and you view it on Unix with the |ls| |-al| 
command, some of the executable bits won't mean what you'd expect them to.


Three Samba options decide whether the bits are mapped: |map| |archive|, 
|map| |system |, and |map| |hidden|. These options map the archive, 
system, and hidden attributes to the owner, group, and world execute 
bits of the file, respectively. You can add these options to the 
|[data]| share, setting each of their values as follows:


[data]
path = /home/samba/data
browseable = yes
guest ok = yes
writeable = yes
map archive = yes
map system = yes
map hidden = yes

After that, try creating a file in the share under Unix - such as 
|hello.java| - and change the permissions of the file to 755. With these 
Samba options set, you should be able to check the permissions on the 
Windows side and see that each of the three values has been checked in 
the Properties dialog box. What about the read-only attribute? By 
default, Samba 2.0 sets this whenever a file does not have the Unix 
owner write permission bit set. In other words, you can set this bit by 
changing the permissions of the file to 555.


We should warn you that the default value of the |map| |archive| option 
is |yes|, while the other two options have a default value of |no|. This 
is because many programs do not work properly if the archive bit is not 
stored correctly for DOS and Windows files. The system and hidden 
attributes, however, are not critical for a program's operation and are 
left to the discretion of the administrator.




--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



Re: [libreoffice-users] Re: [Not to group] Re: files on network shares not opening. Own ones are ok?

2014-08-30 Thread Tom Davies
Hi :)
It could easily be a network problem.  I'm not convinced our network is
working as it should but various people have tested it and said it's fine.

Caligra opened the network files with no problem.  Refused to open them
from the
File - Open
claiming that only local files could be opened.  However when i went to the
network share and double-clicked on the file it opened just fine in Caligra
Author

Still got to read through some of those links that Steve sent me on Friday
Many thanks!  Good luck and regards from
Tom :)





On 29 August 2014 15:44, hdv@gmail hdv.ja...@gmail.com wrote:

 On 2014-08-29 13:59, Tom Davies wrote:
  Hi :)
  Hm, but Ubuntu has no troubles with network files.  I thought i was on LO
  3.5.7 but i might have upgraded.  I'm out of the office for a few hours
  again but could check later.
 
  Our file-server is a Debian one and done using a Samba share.  No other
  files are affected so it's only when using LO to open them.
 
  I've not tried using AbiWord but from what Alex is saying i suspect it is
  only LO and maybe only certain versions.  I've still not tried Steve's
  links but hopefully might try those later.  Thanks HdV for confirming! :)
  I thought i had just done somethign weird when installing Kubuntu.

 Some additional data I just received from one of the colleagues. This
 problem also appeared on Windows 7 and 8 clients. But one of the more
 technically versed persons thought it might have to do with the quality
 of the network connection. That was because using the same laptop and
 NAS but connected to another WLAN he did not have these problems. That
 first network is indeed not constant in speed and sometimes slows down
 to a crawl (although it doesn't lose its connection altogether). He
 thought (but has not confirmed) that these problems were appearing
 mostly when that network was playing up. Maybe that information is of
 use to those trying to solve this.

 Grx HdV



 --
 To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
 Problems?
 http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
 Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
 List archive: http://listarchives.libreoffice.org/global/users/
 All messages sent to this list will be publicly archived and cannot be
 deleted


-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [libreoffice-users] Re: [Not to group] Re: files on network shares not opening. Own ones are ok?

2014-08-30 Thread hdv@gmail
On 2014-08-30 14:58, Tom Davies wrote:
 Hi :) 
 It could easily be a network problem.  I'm not convinced our network is
 working as it should but various people have tested it and said it's fine. 
 
 Caligra opened the network files with no problem.  Refused to open them
 from the
 File - Open
 claiming that only local files could be opened.  However when i went to
 the network share and double-clicked on the file it opened just fine in
 Caligra Author
 
 Still got to read through some of those links that Steve sent me on Friday
 Many thanks!  Good luck and regards from

Hi Tom,

Same here. Other applications don't seem to have this problem at the
same moment LO does show them. Therfore I don't think it will be the
network itself. But maybe LO uses a component that is sensitive to a
less than stellar network performance when opening files over the
network. However that is only guessing and not based on any form of
decent testing.

Grx HdV



-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


[libreoffice-users] Re: [Not to group] Re: files on network shares not opening. Own ones are ok?

2014-08-29 Thread Tom Davies
Hi :)
I have tried a different file-browser and still same problems.  Other types
of files that are on the network opened fine so it's only when trying to
open them in LibreOffice that there is a problem.  A different machine with
Ubuntu on it opens the same files just fine so it's something between
Kubuntu and LibreOffice.

Things i have not tried yet is installing the untweaked version of LO
directly from the official website.  I have tried the one in the default
repos and the one in the ppa.  Also Steve Edmonds gave me some links to the
archives and i've not worked through any of those yet.

So, still got some things to try but wondering if anyone has a quickeasy
fix
Regards from
Tom :)


On 28 August 2014 23:10, Steve Edmonds steve.edmo...@ptglobal.com wrote:

  Hi.
 Old debian will be samba most likely.
 I think samba had some issue with LO. Check out accessing another file
 first (a txt file or something).
 A quick look in my mail box has these subjects
 Re: [libreoffice-users] save as on a samba server (2011)
 RE: [libreoffice-users] Re: Documents Not Opening On External Drive (2011)
 [libreoffice-users] Libreoffice can't open remote file from samba shared
 directory (2012)
 [libreoffice-users] Re: locked in other OS (2012)

 Steve


 On 2014-08-29 09:51, Tom Davies wrote:

  Hi :)
  Err, when i say old debian i mean i can't install stuff because it's so
 old.

 Of course on the desktop machine i can use sudo to temporarily act as
 Root.  I've never used openSuSE but i get the feeling that whichever one
 you are closest to and more familiar with is the one you are most likely to
 have spotted the awkward bits of.
 Regards from
 Tom :)


 On 28 August 2014 22:42, Tom Davies tomc...@gmail.com wrote:

  Hi :)
  Thanks! :)  I am a bit lost with all this tbh!  The file-server is an
 old debian.

 I could try editing the fstab but automounting a file-share makes me
 worry about what happens if the file-share goes off-line.  I have no idea
 what the cifs stuff is doing.  I think our server uses samba shares but i'm
 not sure if that's the same or different.

 Regards from
 Tom :)




 On 28 August 2014 22:37, Steve Edmonds steve.edmo...@ptglobal.com
 wrote:

  Search through nabble. There has been similar discussion previously a
 while back.
 I think to do with mandatory locking or byte locking, nbl option or
 something.

 What file server are you running. I mount my shares from the network on
 my machine in my login script rather than browse the network for files.
 That way any network files I would normally access from my machine are
 available when I ssh into it rather than have to go to each different file
 server to fetch a file.
 i.e. an example I use on my home network, the workplace arrangement is
 similar, in .profile I have
 #new mount.cifs with lines in fstab and credential file
 ((mount|grep //10.2.1.248/steve) || /sbin/mount.cifs //10.2.1.248/steve
 /home/steve/network/NAS/steve)
 ((mount|grep //10.2.1.248/public) || /sbin/mount.cifs //
 10.2.1.248/public /home/steve/network/NAS/public)

 And in /etc/fstab
 //10.2.1.248/public   /home/steve/network/NAS/public cifs
 noauto,user,credentials=/home/steve/.stardomcred,nosetuids,rw 0 0

 Oh yeah, and one frustrating thing is that in suse the mount command is
 not user executable so I have to fix that.
 -rwsr-xr-x 1 root root 40112 Nov  5  2012 /usr/bin/mount

 Steve



 On 2014-08-29 07:45, Tom Davies wrote:

Hi :)
  Ahh, i tried both ways but i think both go through Dolphin don't they?

 I've used Dolphin on non-KDE when Nautilus let me down with
 network-shares on a different network and it worked a treat then.  I didn't
 think of trying a different file-browser.  Konqueror is another good KDE
 one isn't it?

  I am not sure how the network drive has been mounted.  It has just
 occurred to me that i didn't try opening any other types of files over the
 network before leaving the office.

  I'm at home now and ssh'd into the company network so i can reinstall
 LibreOffice remotely and i'd already torrented both Fresh and Still so
 i have got choices wrt that.

  Thanks for the hints!  Gives me things to try :))
  Regards from
 Tom :)






  On 28 August 2014 20:29, Steve Edmonds steve.edmo...@ptglobal.com
 wrote:

 Hi again, are you opening from the LO file menu or clicking on the file
 in Dolphin.

 Steve
 On 2014-08-29 05:30, Tom Davies wrote:

 Hi :)
 Err, i just tried renaming the user-profile and it had no effect.
 Regards from
 Tom :)



 On 28 August 2014 18:20, Tom Davies tomc...@gmail.com wrote:

  Hi :)
 On Kubuntu 14.04 with LibreOffice 4.2.4

 I can open files that are on the desktop machine i am sitting in
 front of
 but when i try to open files that are on the network i just get the
 little splash-screen and progress-bar but then LO crashes.

 Hmm, KDE is a bit different from what i am used to so i'm still
 hunting
 for LO's User Profile and also wondering if i should uninstall LO and
 download the proper one from our mad 

Re: [libreoffice-users] Re: [Not to group] Re: files on network shares not opening. Own ones are ok?

2014-08-29 Thread Tom Davies
Hi :)
Hm, but Ubuntu has no troubles with network files.  I thought i was on LO
3.5.7 but i might have upgraded.  I'm out of the office for a few hours
again but could check later.

Our file-server is a Debian one and done using a Samba share.  No other
files are affected so it's only when using LO to open them.

I've not tried using AbiWord but from what Alex is saying i suspect it is
only LO and maybe only certain versions.  I've still not tried Steve's
links but hopefully might try those later.  Thanks HdV for confirming! :)
I thought i had just done somethign weird when installing Kubuntu.
Regards from
Tom :)







On 29 August 2014 12:44, Alex Thurgood alex.thurg...@gmail.com wrote:

 Le 29/08/2014 12:37, hdv@gmail a écrit :

 Hi,

  P.S. To be honest, I have neglected til now to file a bug-report for
  this. Should have done so, but somehow I never did.
 

 There have already been several bug reports about this.

 Alex



 --
 To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
 Problems?
 http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
 Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
 List archive: http://listarchives.libreoffice.org/global/users/
 All messages sent to this list will be publicly archived and cannot be
 deleted


-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [libreoffice-users] Re: [Not to group] Re: files on network shares not opening. Own ones are ok?

2014-08-29 Thread hdv@gmail
On 2014-08-29 13:59, Tom Davies wrote:
 Hi :)
 Hm, but Ubuntu has no troubles with network files.  I thought i was on LO
 3.5.7 but i might have upgraded.  I'm out of the office for a few hours
 again but could check later.
 
 Our file-server is a Debian one and done using a Samba share.  No other
 files are affected so it's only when using LO to open them.
 
 I've not tried using AbiWord but from what Alex is saying i suspect it is
 only LO and maybe only certain versions.  I've still not tried Steve's
 links but hopefully might try those later.  Thanks HdV for confirming! :)
 I thought i had just done somethign weird when installing Kubuntu.

Some additional data I just received from one of the colleagues. This
problem also appeared on Windows 7 and 8 clients. But one of the more
technically versed persons thought it might have to do with the quality
of the network connection. That was because using the same laptop and
NAS but connected to another WLAN he did not have these problems. That
first network is indeed not constant in speed and sometimes slows down
to a crawl (although it doesn't lose its connection altogether). He
thought (but has not confirmed) that these problems were appearing
mostly when that network was playing up. Maybe that information is of
use to those trying to solve this.

Grx HdV



-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted