changeset 592:741fc54b4869

2004-10-7 Brian Masney <masneyb@gftp.org> * src/gtk/gftpuicallbacks.c (gftpui_common_run_ls) - if the .. directory was not found and an entry is to be created, make sure the attributes are set to drwx------ (previously it was d---------)
author masneyb
date Fri, 08 Oct 2004 00:53:31 +0000
parents 74c9b951a442
children 46f4218c92ce
files ChangeLog src/uicommon/gftpuicallbacks.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Oct 06 18:38:04 2004 +0000
+++ b/ChangeLog	Fri Oct 08 00:53:31 2004 +0000
@@ -1,3 +1,8 @@
+2004-10-7 Brian Masney <masneyb@gftp.org>
+	* src/gtk/gftpuicallbacks.c (gftpui_common_run_ls) - if the ..
+	directory was not found and an entry is to be created, make sure
+	the attributes are set to drwx------ (previously it was d---------)
+
 2004-10-5 Brian Masney <masneyb@gftp.org>
 	* src/gtk/menu-items.c (dosavelog, viewlog) - make sure the entire
 	log is written out when multibyte characters are used
@@ -2945,7 +2950,7 @@
 
 	* cvsclean - added this script
 
-	* *.[ch] - added $Id: ChangeLog,v 1.344 2004/10/06 02:32:41 masneyb Exp $ tags
+	* *.[ch] - added $Id: ChangeLog,v 1.345 2004/10/08 00:53:31 masneyb Exp $ tags
 
 	* debian/* - updated files from Debian maintainer
 
--- a/src/uicommon/gftpuicallbacks.c	Wed Oct 06 18:38:04 2004 +0000
+++ b/src/uicommon/gftpuicallbacks.c	Fri Oct 08 00:53:31 2004 +0000
@@ -106,7 +106,7 @@
       fle->file = g_strdup ("..");
       fle->user = g_malloc0 (1);
       fle->group = g_malloc0 (1);
-      fle->st_mode |= S_IFDIR;
+      fle->st_mode = S_IFDIR | S_IRUSR | S_IWUSR | S_IXUSR;
       cdata->files = g_list_prepend (cdata->files, fle);
     }