Release 0.0.4
authorImran Zaman <imran.zaman@intel.com>
Tue, 12 Aug 2014 13:13:46 +0000 (16:13 +0300)
committerImran Zaman <imran.zaman@intel.com>
Tue, 12 Aug 2014 13:13:46 +0000 (16:13 +0300)
Fix access permissions for user home directory

Change-Id: I1a41d8837948609e93bf060046329dca0776872e

13 files changed:
configure
configure.ac
dists/debian/changelog
dists/rpm/gum-suse.spec
dists/rpm/tizen/packaging/gumd.changes
dists/rpm/tizen/packaging/gumd.spec
docs/html/GumConfig.html
docs/html/ch04.html
docs/html/index.html
include/gum/common/gum-config.h
src/lib/gum-group.c
src/lib/gum-user.c
tools/prepare-tizen.sh

index dc78675..5e0a88c 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for gumd 0.0.3.
+# Generated by GNU Autoconf 2.69 for gumd 0.0.4.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -587,8 +587,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='gumd'
 PACKAGE_TARNAME='gumd'
-PACKAGE_VERSION='0.0.3'
-PACKAGE_STRING='gumd 0.0.3'
+PACKAGE_VERSION='0.0.4'
+PACKAGE_STRING='gumd 0.0.4'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL='https://github.com/01org/gumd'
 
@@ -1402,7 +1402,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures gumd 0.0.3 to adapt to many kinds of systems.
+\`configure' configures gumd 0.0.4 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1472,7 +1472,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of gumd 0.0.3:";;
+     short | recursive ) echo "Configuration of gumd 0.0.4:";;
    esac
   cat <<\_ACEOF
 
@@ -1631,7 +1631,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-gumd configure 0.0.3
+gumd configure 0.0.4
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1996,7 +1996,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by gumd $as_me 0.0.3, which was
+It was created by gumd $as_me 0.0.4, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2864,7 +2864,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='gumd'
- VERSION='0.0.3'
+ VERSION='0.0.4'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -13921,7 +13921,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by gumd $as_me 0.0.3, which was
+This file was extended by gumd $as_me 0.0.4, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -13988,7 +13988,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-gumd config.status 0.0.3
+gumd config.status 0.0.4
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
index 3e14cf5..39eb923 100644 (file)
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.60])
-AC_INIT([gumd], [0.0.3],[],[],[https://github.com/01org/gumd])
+AC_INIT([gumd], [0.0.4],[],[],[https://github.com/01org/gumd])
 AC_CONFIG_SRCDIR([src/daemon/main.c])
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_AUX_DIR([build-aux])
index cd1a41c..ef3fe56 100644 (file)
@@ -1,3 +1,9 @@
+gumd (0.0.4-1) unstable; urgency=low
+
+  * Fix access permissions for user home directory
+
+ -- Imran Zaman <imran.zaman@intel.com>  Tue, 12 Aug  2014 10:24:53 +0300
+
 gumd (0.0.3-1) unstable; urgency=low
 
   * Log only when logging is enabled
index 10d443e..0587a0f 100644 (file)
@@ -7,7 +7,7 @@
 
 Name: gumd
 Summary: User management daemon and client library
-Version: 0.0.3
+Version: 0.0.4
 Release: 1
 Group: System/Daemons
 License: LGPL-2.1+
@@ -131,6 +131,9 @@ groupadd -f -r gumd
 
 
 %changelog
+* Tue Aug 12 2014 Imran Zaman <imran.zaman@intel.com>
+- Fix access permissions for user home directory
+
 * Tue Aug 05 2014 Imran Zaman <imran.zaman@intel.com>
 - Log only when logging is enabled
 - Fixed p2p stream descriptor leak
index a5fdece..605930e 100644 (file)
@@ -1,3 +1,6 @@
+* Tue Aug 12 2014 Imran Zaman <imran.zaman@intel.com>
+- Fix access permissions for user home directory
+
 * Tue Aug 05 2014 Imran Zaman <imran.zaman@intel.com>
 - Log only when logging is enabled
 - Fixed p2p stream descriptor leak
index ed2718f..d1e242e 100644 (file)
@@ -6,7 +6,7 @@
 
 Name: gumd
 Summary: User management daemon and client library
-Version: 0.0.3
+Version: 0.0.4
 Release: 1
 Group: Security/Accounts
 License: LGPL-2.1+
index 34e0683..bebbe2a 100644 (file)
@@ -408,7 +408,7 @@ gum_config_set_string (<em class="parameter"><code><a class="link" href="GumConf
 <a name="GumConfig.other_details"></a><h2>Types and Values</h2>
 <div class="refsect2">
 <a name="GUM-UMASK:CAPS"></a><h3>GUM_UMASK</h3>
-<pre class="programlisting">#define GUM_UMASK  022
+<pre class="programlisting">#define GUM_UMASK  077
 </pre>
 <p>Value used to set the mode of home directories created for new users.</p>
 </div>
index 403e694..a7dd83d 100644 (file)
 </dt>
 <dd></dd>
 <dt>
-<a class="link" href="gumd-Errors.html#GumError" title="enum GumError">GumError</a>, enum in <a class="link" href="gumd-Errors.html" title="Errors">Errors</a>
+<a class="link" href="gumd-Errors.html#GUM-ERROR:CAPS" title="GUM_ERROR">GUM_ERROR</a>, macro in <a class="link" href="gumd-Errors.html" title="Errors">Errors</a>
 </dt>
 <dd></dd>
 <dt>
-<a class="link" href="gumd-Errors.html#GUM-ERROR:CAPS" title="GUM_ERROR">GUM_ERROR</a>, macro in <a class="link" href="gumd-Errors.html" title="Errors">Errors</a>
+<a class="link" href="gumd-Errors.html#GumError" title="enum GumError">GumError</a>, enum in <a class="link" href="gumd-Errors.html" title="Errors">Errors</a>
 </dt>
 <dd></dd>
 <dt>
index efa5256..26295a4 100644 (file)
@@ -15,7 +15,7 @@
 <div>
 <div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">gumd API Reference Manual</p></th></tr></table></div>
 <div><p class="releaseinfo">This document discusses the details of user management 
-        daemon (gumd) and client library (libgum) with version 0.0.3
+        daemon (gumd) and client library (libgum) with version 0.0.4
 .
         </p></div>
 </div>
index 83984fd..25c2e61 100644 (file)
@@ -37,7 +37,7 @@
  *
  * Value used to set the mode of home directories created for new users.
  */
-#define GUM_UMASK  022
+#define GUM_UMASK  077
 
 G_BEGIN_DECLS
 
index e1d8fd5..944f7e0 100644 (file)
@@ -174,6 +174,7 @@ _trigger_callback (
         (group->priv->op->callback)(group, group->priv->op->error,
                 group->priv->op->user_data);
     }
+    group->priv->op->cb_id = 0;
     return FALSE;
 }
 
index eca457b..3c1e3ea 100644 (file)
@@ -182,6 +182,7 @@ _trigger_callback (
         (user->priv->op->callback)(user, user->priv->op->error,
                 user->priv->op->user_data);
     }
+    user->priv->op->cb_id = 0;
     return FALSE;
 }
 
index 6126228..b22249f 100755 (executable)
@@ -14,13 +14,7 @@ echo "CURR dir = $currdir"
 
 mkdir -p $2 && \
 cd $2 && \
-git rm -r -f *; rm -rf packaging;
+git rm -r -f *; 
 tar -xzvf $currdir/$1 -C $2 --strip-components 1 && \
-mkdir -p packaging && \
-cp dists/rpm/tizen/packaging/gumd.spec packaging/ && \
-cp dists/rpm/tizen/packaging/gumd.manifest packaging/ && \
-cp dists/rpm/tizen/packaging/gumd.changes packaging/ && \
-cp dists/rpm/tizen/packaging/libgum.manifest packaging/ && \
-cp dists/rpm/tizen/packaging/gumd-tizen.conf packaging/ && \
 cp $currdir/.gitignore $2/; 
 git add -f *; git add .gitignore;