There is a patch in the source packet, debian/patches/03_thunar-vfs- apply-umask-properly.patch, which changes
if (!_thunar_vfs_io_ops_mkdir (lp->data, 0755, THUNAR_VFS_IO_OPS_NONE, error)) to if (!_thunar_vfs_io_ops_mkdir (lp->data, 0777 & ~umask(0), THUNAR_VFS_IO_OPS_NONE, error)) But this does not really apply umask properly, because the call to umask(0) will set the umask to 0 and return the old umask. mkdir() already respects the umask (see "man 2 umask" and "man 2 mkdir"). The correct line would probably be: if (!_thunar_vfs_io_ops_mkdir (lp->data, 0777, THUNAR_VFS_IO_OPS_NONE, error)) This is also in the patch at http://bugs.gentoo.org/275516 -- Thunar sets wrong permissions for new files and directories (666, 777) https://bugs.launchpad.net/bugs/391969 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs