CrossOver Support - Community Forums

Important Information These are community forums and not official technical support. If you need official support: Contact Us

CrossOver Linux
Discussion about CrossOver Linux

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Ms Office 2007 on ubuntu 9.10

Hi,
I have just installed MS Office 2007 on ubuntu 9.10 using CrossOver. Everything works perfectly fine. But when I click on xlsx file or doc file (I assume any office related file) nothing happens.Both extension shows correct "open with" applications but still nothing happens.
If I open the excel and load the file from file menu, it works.

Any idea?

Thanks
B

KDE or GNOME?

I have same/similar issue, with Ubuntu 9.10 running std. Gnome WM.

It seems that sometimes, docx files open, sometimes they don't. Some Excel files open, some don't.

I have yet to figure out a pattern upon which I can predict if a file will or will not open with a double click or using "Open With". All files open just fine with File->Open menu in the application.

Interestingly, I have just discovered, if I open a file in Open Office, then try to double click (if Excel is default) it will open. Close both, try double clicking only. No open.

-Greg

I think I fixed the issue!!!

I found that if I went to "Permissions" tab under properties for a given file, I would see that if a .xlsx, .docx or .pptx file had "Allow executing file as program" checked, it would not open. Why, I don't know.

If it doesn't have that checked, it will open.

Several of the documents I access are via cifs mounts, so updating my fstab to include ,file_mode=0666,dir_mode=0777 seems to have saved the day.

Not sure if it broke anything . . . but I don't think there was anything I wanted to execute from our File Server anyways.

Hope this helps.

Greg

That'll be because when the file is configured to allow executing as a program, (with the POSIX execute bit set), you are telling Ubuntu that the xlsx, or docx file contains native executable code, which it doesn't. Ubuntu will then attempt to start the file as an executable, which fails.

Files copied from a Windows filesystem or a CIFS share always have the execute bit set since Windows has no concept of the POSIX access permissions, and having the executable bit set is the only way to support Linux executables on those filesystems.

You can of course also open the file directly from the relevant program, but that's very cumbersome.

It would be helpful if the desktop environment could tell you this and offer to open it with the registered file association instead.

This situation would present the same issue on all variants of Linux.

Darren.

Thanks for this post!
I have two new ubuntu 9.10 builds. Both exhibited the same problem with an XLSX file copied from an XP NTFS partition. In both cases changing the file properties to remove the execution permission fixed the problem. The differences between the Ubuntu build tests:
Machine 1: Clean build - testing as an administrator
Machine 2: Clean build with dual boot with XP partition. Testing as a "desktop user"

This test eliminates the cause being user session permissions in the ubuntu desktop. At first I was concerned that the partitioned install was somehow different to the clean build.
Hope this testing info is useful.

Darren Wood wrote:

That'll be because when the file is configured to allow executing as
a program, (with the POSIX execute bit set), you are telling Ubuntu
that the xlsx, or docx file contains native executable code, which
it doesn't. Ubuntu will then attempt to start the file as an
executable, which fails.

So why does it work with xlsx files?

Tom

Please Note: This Forum is for non-application specific questions relating to installation/configuration of CrossOver. All application-specific posts to this Forum will be moved to their appropriate Compatibility Center Forum.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi01LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzQxNzA1NjM5LCJjc3JmX3Rva2VuIjoibXg1d3VLZGZuNHdxM1o1QiIsImdkcHIiOjB9