nautilus r14270 - in trunk: . libnautilus-private



Author: awalton
Date: Mon Jun 16 16:20:13 2008
New Revision: 14270
URL: http://svn.gnome.org/viewvc/nautilus?rev=14270&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:
   trunk/ChangeLog
   trunk/libnautilus-private/nautilus-file.c

Modified: trunk/libnautilus-private/nautilus-file.c
==============================================================================
--- trunk/libnautilus-private/nautilus-file.c	(original)
+++ trunk/libnautilus-private/nautilus-file.c	Mon Jun 16 16:20:13 2008
@@ -4911,7 +4911,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]