Alex, this would happen if ~/.xsession-errors is not a regular file, i. e. symlink to a nonexisting file, or a pipe or something. So in your case /dev/null is not S_ISREG, so it would fall back to creating a new file.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771661 Title: Allow .xsession-errors to be a symlink -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs