[PATCH] Desktop icons show lock symbol (#141390)

I've attached a small patch to bug 141390:
Desktop icon files get created with user & group = root and permissions
of 446 by default. If you're in the root group, Nautilus will determine
that the file belongs to your group, see that you don't have write
access via the group and show the lock accordingly. If you're root
itself, it works because Nautilus assumes that root is almighty anyway.
This patch provides group write permissions for desktop icon files by default,
which makes the locks go away.


Index: libnautilus-private/nautilus-desktop-icon-file.c
RCS file: /cvs/gnome/nautilus/libnautilus-private/nautilus-desktop-icon-file.c,v
retrieving revision 1.4
diff -u -p -r1.4 nautilus-desktop-icon-file.c
--- libnautilus-private/nautilus-desktop-icon-file.c	6 Nov 2003 16:07:01 -0000	1.4
+++ libnautilus-private/nautilus-desktop-icon-file.c	16 May 2004 01:45:17 -0000
@@ -201,6 +201,7 @@ update_info_from_link (NautilusDesktopIc
 	file_info->size = 0;
 	file_info->permissions =

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]