Guard against the POSIX allowed behavior where access (file, X_OK)
authorOwen Taylor <otaylor@redhat.com>
Mon, 9 Dec 2002 04:52:52 +0000 (04:52 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Mon, 9 Dec 2002 04:52:52 +0000 (04:52 +0000)
commit87f9f15180b1dbc9dbdc447c48764fd26fd7c9b0
treeaedae72355979ff9a4b07aab7a10b1a1717b0d06
parentb9da696ea0ff0c3ba31b5c7ea56481e62c6f6f9c
Guard against the POSIX allowed behavior where access (file, X_OK)

Sun Dec  8 23:36:12 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gfileutils.c (g_file_test): Guard against
        the POSIX allowed behavior where access (file, X_OK)
        succeeds for uid==0 when no executable bits are set.

        * glib/gfileutils.c (g_file_test): Add doc notes
        about the possibility of race conditions, and the
        fact that EXISTS and IS_EXECUTABLE give results
        for the real uid not the effective user ID.
        (#81854, Morten Welinder.)
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gfileutils.c