[LON-CAPA-cvs] cvs: loncom / lcnfson
foxr
foxr@source.lon-capa.org
Tue, 12 Oct 2010 10:26:50 -0000
foxr Tue Oct 12 10:26:50 2010 EDT
Modified files:
/loncom lcnfson
Log:
Hopefully make thsi work right on fc13
Index: loncom/lcnfson
diff -u loncom/lcnfson:1.5 loncom/lcnfson:1.6
--- loncom/lcnfson:1.5 Wed Aug 22 19:53:22 2007
+++ loncom/lcnfson Tue Oct 12 10:26:50 2010
@@ -2,7 +2,7 @@
use strict;
-# $Id: lcnfson,v 1.5 2007/08/22 19:53:22 albertel Exp $
+# $Id: lcnfson,v 1.6 2010/10/12 10:26:50 foxr Exp $
# This script is a setuid script (chmod 6755; chown root:root).
# It enables nfs/portmap services for a specific user at
@@ -38,7 +38,7 @@
print("User ID mismatch. This program must be run as user 'www'\n") unless $noprint;
exit 1;
}
-&disable_root_capability;
+
# Handle case of another lcnfs process
unless (&try_to_lock("/tmp/lock_lcnfs")) {