GNOME Bugzilla – Bug 314642
no xfer method to create a directory with target dir permissions
Last modified: 2008-09-06 19:05:56 UTC
gnome_vfs_new_directory_with_unique_name doesn't take any permissions information. It creates directories with 0777 (cf. make_directory helper). Any ideas how we could expose this information API-wise?
This partially blocks Nautilus bug 45889. Note that we could also add support for creating a directory with GNOME_VFS_XFER_TARGET_DEFAULT_PERMS, which isn't implemented if I get the copy_directory helper correctly.
Created attachment 51416 [details] [review] Proposed (untested) patch
gnome-vfs has been deprecated and superseded by gio/gvfs since GNOME 2.22, hence mass-closing many of the gnome-vfs requests/bug reports. This means that gnome-vfs is NOT actively maintained anymore, however patches are still welcome. If your reported issue is still valid for gio/gvfs, please feel free to file a bug report against glib/gio or gvfs. @Bugzilla mail recipients: query for gnome-vfs-mass-close to get rid of these notification emails all together. General further information: http://en.wikipedia.org/wiki/GVFS Reasons behind this decision are listed at http://www.mail-archive.com/gnome-vfs-list@gnome.org/msg00899.html