[maemo-commits] [maemo-commits] r15586 - in projects/haf/trunk/osso-af-startup: . debian services

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu May 22 09:59:14 EEST 2008
Author: schulhof
Date: 2008-05-22 09:59:12 +0300 (Thu, 22 May 2008)
New Revision: 15586

Modified:
   projects/haf/trunk/osso-af-startup/configure.ac
   projects/haf/trunk/osso-af-startup/debian/changelog
   projects/haf/trunk/osso-af-startup/osso-af-startup.sudoers
   projects/haf/trunk/osso-af-startup/services/af-defines.sh
Log:
  * Add the mv -f command line to sudoers so as to avoid permission denials


Modified: projects/haf/trunk/osso-af-startup/configure.ac
===================================================================
--- projects/haf/trunk/osso-af-startup/configure.ac	2008-05-21 11:15:02 UTC (rev 15585)
+++ projects/haf/trunk/osso-af-startup/configure.ac	2008-05-22 06:59:12 UTC (rev 15586)
@@ -1,5 +1,5 @@
 AC_INIT(Makefile.am)
-AM_INIT_AUTOMAKE(osso-af-startup, 1.55)
+AM_INIT_AUTOMAKE(osso-af-startup, 1.56)
 
 AC_OUTPUT(Makefile \
 	services/Makefile \

Modified: projects/haf/trunk/osso-af-startup/debian/changelog
===================================================================
--- projects/haf/trunk/osso-af-startup/debian/changelog	2008-05-21 11:15:02 UTC (rev 15585)
+++ projects/haf/trunk/osso-af-startup/debian/changelog	2008-05-22 06:59:12 UTC (rev 15586)
@@ -1,3 +1,9 @@
+osso-af-startup (1.56-1) unstable; urgency=low
+
+  * Add the mv -f command line to sudoers so as to avoid permission denials
+
+ -- Gabriel Schulhof <gabriel.schulhof at nokia.com>  Wed, 21 May 2008 15:58:44 +0300
+
 osso-af-startup (1.55-1) unstable; urgency=low
 
   * Set default language to en_US on RX-48

Modified: projects/haf/trunk/osso-af-startup/osso-af-startup.sudoers
===================================================================
--- projects/haf/trunk/osso-af-startup/osso-af-startup.sudoers	2008-05-21 11:15:02 UTC (rev 15585)
+++ projects/haf/trunk/osso-af-startup/osso-af-startup.sudoers	2008-05-22 06:59:12 UTC (rev 15586)
@@ -6,4 +6,4 @@
 user ALL = NOPASSWD: /etc/init.d/osso-hss stop
 user ALL = NOPASSWD: /usr/bin/osso-product-info
 user ALL = NOPASSWD: /bin/mv -f /tmp/.opi.tmp.tmp /tmp/.opi.tmp
-
+user ALL = NOPASSWD: /bin/mv -f /tmp/locale .

Modified: projects/haf/trunk/osso-af-startup/services/af-defines.sh
===================================================================
--- projects/haf/trunk/osso-af-startup/services/af-defines.sh	2008-05-21 11:15:02 UTC (rev 15585)
+++ projects/haf/trunk/osso-af-startup/services/af-defines.sh	2008-05-22 06:59:12 UTC (rev 15586)
@@ -57,7 +57,7 @@
     echo 'export LANG=en_US' >> /tmp/locale
     echo 'export LC_MESSAGES=en_US' >> /tmp/locale
 
-    mv -f /tmp/locale $AF_INIT_DIR/locale
+    cd $AF_INIT_DIR && $_SUDO mv -f /tmp/locale .
 
     source $AF_INIT_DIR/locale
   fi


More information about the maemo-commits mailing list