On Thu, 2008-01-03 at 03:35 +0100, nf2 wrote: 
> Over the Christmas holidays i have written an experimental kio_gio/gvfs
> bridge IO slave for KDE4:

Cool. A couple of issues on the gio side:

In gFileInfo2UDSEntry, you're using the access::can-read (etc)
attributes to set the file mode. In cases where the backend is actually
a unix like filesystem you can use unix::mode
(G_FILE_ATTRIBUTE_UNIX_MODE) instead. 

You can't set attributes like CAN_READ and CAN_WRITE. These are
calculated in backend specific ways. For instance, on local files that
is done using access() which is affected by things like ACLs in addition
to the unix modes. And on some backends the rights work in completely
different ways. 

Same for setting OWNER_USER and OWNER_GROUP. These are calculated by the
backend, and you need to set the actual backing value (like UNIX_UID and
UNIX_GID). 

_______________________________________________
gnome-vfs-list mailing list
gnome-vfs-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-vfs-list

Reply via email to