https://bugs.freedesktop.org/show_bug.cgi?id=43095
Lionel Elie Mamane <lio...@mamane.lu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lio...@mamane.lu --- Comment #2 from Lionel Elie Mamane <lio...@mamane.lu> 2011-12-03 13:38:49 PST --- I can guess that the code e.g. wants to put the document in "READ ONLY" mode / show some UI difference when the file it was opened from cannot be written to. Anyway, if we really need to check for permission without actually trying to do the action, we can solve the "access() follows symlink" problem by using faccessat(-1, "/absolute/path", AT_EACCESS | AT_SYMLINK_NOFOLLOW) or faccessat(AT_FDCWD, "relative/or/absolute/path", AT_EACCESS | AT_SYMLINK_NOFOLLOW) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs