summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wehner <martin.wehner@epost.de>2004-05-18 05:11:15 +0000
committerMartin Wehner <mwehner@src.gnome.org>2004-05-18 05:11:15 +0000
commitc6171a547bb7616dbc1f33603c2fce58448deb5e (patch)
tree729e0a16ca8b21770fc9384e88db32e7308742c2
parentdc5f97a7f83b1e1677c410dcd76d67f8a5576fbc (diff)
downloadnautilus-c6171a547bb7616dbc1f33603c2fce58448deb5e.tar.gz
Provide group write permissions by default. Prevents read-only emblem from
2004-05-18 Martin Wehner <martin.wehner@epost.de> * libnautilus-private/nautilus-desktop-icon-file.c (update_info_from_link): Provide group write permissions by default. Prevents read-only emblem from being shown when user is in root group (#141390).
-rw-r--r--ChangeLog6
-rw-r--r--libnautilus-private/nautilus-desktop-icon-file.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5553dd6e4..503520a95 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-05-18 Martin Wehner <martin.wehner@epost.de>
+
+ * libnautilus-private/nautilus-desktop-icon-file.c (update_info_from_link):
+ Provide group write permissions by default. Prevents read-only
+ emblem from being shown when user is in root group (#141390).
+
2004-05-13 Dave Camp <dave@novell.com>
* configure.in: Post-release version update.
diff --git a/libnautilus-private/nautilus-desktop-icon-file.c b/libnautilus-private/nautilus-desktop-icon-file.c
index bbfefe1af..52284c186 100644
--- a/libnautilus-private/nautilus-desktop-icon-file.c
+++ b/libnautilus-private/nautilus-desktop-icon-file.c
@@ -201,6 +201,7 @@ update_info_from_link (NautilusDesktopIconFile *icon_file)
file_info->size = 0;
file_info->permissions =
GNOME_VFS_PERM_OTHER_WRITE |
+ GNOME_VFS_PERM_GROUP_WRITE |
GNOME_VFS_PERM_USER_READ |
GNOME_VFS_PERM_OTHER_READ |
GNOME_VFS_PERM_GROUP_READ;