nautilus r14271 - in branches/gnome-2-22: . libnautilus-private



Author: awalton
Date: Mon Jun 16 16:23:02 2008
New Revision: 14271
URL: http://svn.gnome.org/viewvc/nautilus?rev=14271&view=rev

Log:
2008-06-16  A. Walton  <awalton gnome org>

	* libnautilus-private/nautilus-file.c
	(nautilus_file_get_permissions_as_string):
	Correct a typo in the permissions code: 
	suid should test for S_ISUID instead of G_ISGID.
	Closes bug #538468.
	Patch by Marcel Stimberg.



Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/libnautilus-private/nautilus-file.c

Modified: branches/gnome-2-22/libnautilus-private/nautilus-file.c
==============================================================================
--- branches/gnome-2-22/libnautilus-private/nautilus-file.c	(original)
+++ branches/gnome-2-22/libnautilus-private/nautilus-file.c	Mon Jun 16 16:23:02 2008
@@ -4873,7 +4873,7 @@
 	is_link = nautilus_file_is_symbolic_link (file);
 
 	/* We use ls conventions for displaying these three obscure flags */
-	suid = permissions & S_ISGID;
+	suid = permissions & S_ISUID;
 	sgid = permissions & S_ISGID;
 	sticky = permissions & S_ISVTX;
 



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