rpms/pam/devel pam-0.99.7.1-namespace-homedir.patch,1.1,1.2
Tomas Mraz (tmraz)
fedora-extras-commits at redhat.com
Fri Aug 24 13:35:29 UTC 2007
Author: tmraz
Update of /cvs/pkgs/rpms/pam/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32479
Modified Files:
pam-0.99.7.1-namespace-homedir.patch
Log Message:
- wrong orig code
pam-0.99.7.1-namespace-homedir.patch:
Index: pam-0.99.7.1-namespace-homedir.patch
===================================================================
RCS file: /cvs/pkgs/rpms/pam/devel/pam-0.99.7.1-namespace-homedir.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pam-0.99.7.1-namespace-homedir.patch 24 Aug 2007 13:15:01 -0000 1.1
+++ pam-0.99.7.1-namespace-homedir.patch 24 Aug 2007 13:35:26 -0000 1.2
@@ -1,14 +1,13 @@
-diff -up Linux-PAM-0.99.7.1/modules/pam_namespace/namespace.init.namespace_homedir Linux-PAM-0.99.7.1/modules/pam_namespace/namespace.init
---- Linux-PAM-0.99.7.1/modules/pam_namespace/namespace.init.namespace_homedir 2007-08-23 15:49:45.000000000 -0400
-+++ Linux-PAM-0.99.7.1/modules/pam_namespace/namespace.init 2007-08-23 15:51:56.000000000 -0400
-@@ -1,6 +1,23 @@
+diff -up Linux-PAM-0.99.8.1/modules/pam_namespace/namespace.init.homedir Linux-PAM-0.99.8.1/modules/pam_namespace/namespace.init
+--- Linux-PAM-0.99.8.1/modules/pam_namespace/namespace.init.homedir 2007-08-24 10:40:46.000000000 +0200
++++ Linux-PAM-0.99.8.1/modules/pam_namespace/namespace.init 2007-08-24 15:33:52.000000000 +0200
+@@ -1,9 +1,24 @@
#!/bin/sh -p
-# This is only a boilerplate for the instance initialization script.
--# It receives polydir path as $1 and the instance path as $2.
-+# It receives polydir path as $1 and the instance path as $2,
-+# $3 is an indicatory whether $2 is a newly created directory,
-+# $4 is the user who is logging in.
-+#
+ # It receives polydir path as $1, the instance path as $2,
+ # a flag whether the instance dir was newly created (0 - no, 1 - yes) in $3,
+ # and user name in $4.
+ #
+# The following section will copy the contents of /etc/skel if this is a
+# newly created home directory.
+if [ "$3" = 1 ]; then
@@ -24,6 +23,7 @@
+ chmod ${mode:-700} "$homedir"
+ fi
+fi
- #
++#
# If you intend to polyinstantiate /tmp and you also want to use the X windows
# environment, you will have to use this script to bind mount the socket that
+ # is used by the X server to communicate with its clients. X server places
More information about the fedora-extras-commits
mailing list