Hello,

I just upgraded to gnome-python-2.15.2 and now my application that uses
the gnomevfs module is totally broken. The problem is permissions. Earlier
versions of the gnomevfs modules had many permission constants missing.
So one had to derive the constants manually. Prior to gnome-python-2.15
the following code would have printed "You have permission to read."
Now, it prints "You don't have permission to read."

        PERM_ACCESS_READABLE = 1 << 16
        if fileinfo.permissions & PERM_ACCESS_READABLE:
                print "You have permission to read"
        else:
                print "You don't have permission to read"

The resultant effect is that my application can't open or save any files
even on the local file system. Is this a bug? Is anyone else experiencing
this problem? This problem started only after I upgraded to
gnome-python-2.15.2.

Regards
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to