SOURCES: smb.init - unset $TMP (inaccessible for samba uid when sa...

glen glen at pld-linux.org
Mon Feb 27 17:55:25 CET 2006


Author: glen                         Date: Mon Feb 27 16:55:25 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- unset $TMP (inaccessible for samba uid when samba started via sudo)

---- Files affected:
SOURCES:
   smb.init (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: SOURCES/smb.init
diff -u SOURCES/smb.init:1.17 SOURCES/smb.init:1.18
--- SOURCES/smb.init:1.17	Thu Dec  8 02:02:49 2005
+++ SOURCES/smb.init	Mon Feb 27 17:55:19 2006
@@ -31,6 +31,7 @@
 fi
 
 TMPDIR="/tmp"; export TMPDIR
+unset TMP || :
 
 # Check that smb.conf exists.
 [ -f /etc/samba/smb.conf ] || exit 0
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/smb.init?r1=1.17&r2=1.18&f=u



More information about the pld-cvs-commit mailing list