*** This bug is a duplicate of bug 1751005 ***
    https://bugs.launchpad.net/bugs/1751005

More info, even if i have ~/.config on root partition, I cannot open
files from the big one. strace shows this:

// on root partition, it works

[pid 28522] openat(AT_FDCWD, "/home/horape-/gastos.ods", O_RDWR|O_EXCL)
= 26

// on /disco2 partition, it fails

[pid 28240] openat(AT_FDCWD, "/disco2/home/horape/gastos.ods",
O_RDWR|O_EXCL) = -1 EACCES (Permission denied)

open(2) says:

In general, the behavior of O_EXCL is undefined if it is used without
O_CREAT.  There is one exception: on Linux 2.6 and later, O_EXCL can be
used without O_CREAT if pathname refers to a block device.  If the block
device is in use by the system (e.g., mounted), open() fails with the
error EBUSY.

So, O_RDWR|O_EXCL seems to make no sense. What is it trying to do?

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752496

Title:
  libreoffice fails when home on second partition

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1752496/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to