[Fusionforge-commits] r16009 - in branches/Branch_5_2/src: deb-specific debian

Olivier Berger olberger at fusionforge.org
Wed Jul 18 22:01:47 CEST 2012


Author: olberger
Date: 2012-07-18 22:01:46 +0200 (Wed, 18 Jul 2012)
New Revision: 16009

Modified:
   branches/Branch_5_2/src/deb-specific/user_dump_update.pl
   branches/Branch_5_2/src/debian/changelog
Log:
Do not use /etc/skel, but /var/lib/gforge/chroot/etc/skel instead : allows some level of customization for forge users whereas leaving regular system users unchanged

Modified: branches/Branch_5_2/src/deb-specific/user_dump_update.pl
===================================================================
--- branches/Branch_5_2/src/deb-specific/user_dump_update.pl	2012-07-18 19:24:10 UTC (rev 16008)
+++ branches/Branch_5_2/src/deb-specific/user_dump_update.pl	2012-07-18 20:01:46 UTC (rev 16009)
@@ -90,9 +90,9 @@
 
 	if($verbose){print("Making a User Account for : $username\n")};
 		
-	# Now lets create the homedir and copy the contents of /etc/skel into it.
-	if (-d "/etc/skel") {
-	    system "cp -r /etc/skel $home_dir";
+	# Now lets create the homedir and copy the contents of /var/lib/gforge/chroot/etc/skel into it.
+	if (-d "/var/lib/gforge/chroot/etc/skel") {
+	    system "cp -r /var/lib/gforge/chroot/etc/skel $home_dir";
 	    chmod 0755, $home_dir;
 	} else {
 	    mkdir $home_dir, 0755;

Modified: branches/Branch_5_2/src/debian/changelog
===================================================================
--- branches/Branch_5_2/src/debian/changelog	2012-07-18 19:24:10 UTC (rev 16008)
+++ branches/Branch_5_2/src/debian/changelog	2012-07-18 20:01:46 UTC (rev 16009)
@@ -1,8 +1,10 @@
 fusionforge (5.2~rc1-5+) UNRELEASED; urgency=low
 
+  * Populate new user's shell accounts out of
+    /var/lib/gforge/chroot/etc/skel (closes: #675054).
   * 
 
- -- Roland Mas <lolando at debian.org>  Thu, 28 Jun 2012 20:47:45 +0200
+ -- Olivier Berger <obergix at debian.org>  Wed, 18 Jul 2012 21:55:42 +0200
 
 fusionforge (5.2~rc1-5) unstable; urgency=low
 




More information about the Fusionforge-commits mailing list