CVS: tmda-cgi Install.py,1.15,1.16 configure,1.10,1.11

Gre7g Luterman <[email protected]>
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda-cgi
In directory sc8-pr-cvs1:/tmp/cvs-serv5130

Modified Files:
	Install.py configure 
Log Message:
Minor bugfixes.


Index: Install.py
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/Install.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- Install.py	30 May 2003 03:49:14 -0000	1.15
+++ Install.py	30 May 2003 04:29:35 -0000	1.16
@@ -83,7 +83,7 @@
 
 Return 0 on success, error code on error."""
 
-  if not Util.CanWrite(os.path.join(os.environ["HOME"], Archive)):
+  if not Util.CanWrite(os.environ["HOME"], os.geteuid(), os.getegid(), 0):
     CgiUtil.TermError("Can't write.", "No write permissions.",
       "create backup", CgiUtil.FileDetails("home directory",
       os.environ["HOME"]), "Check file permissions in home directory.")

Index: configure
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/configure,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- configure	30 May 2003 04:01:26 -0000	1.10
+++ configure	30 May 2003 04:29:35 -0000	1.11
@@ -67,7 +67,7 @@
     -i <path>
     --install-prefix <path>
        Specify path to tmda-cgi.py and the other tmda-cgi program files.
-       Current default: %(Path)s
+       Current default: %(InstPath)s
 
     -l <path>
     --virtual-lookup <path>
@@ -191,7 +191,7 @@
   "/usr/local/lib/python2.2/site-packages".""", "Base", os.path.isdir,
     "%s/TMDA")
   Ask("""Where did you install tmda-cgi?
-This is typically the CWD.""", "Path", os.path.isfile, "%s/tmda-cgi.py")
+This is typically the CWD.""", "InstPath", os.path.isfile, "%s/tmda-cgi.py")
   Ask("""Would you like to override the default config file location?
 If so, enter a "formula" to specify where to look for the config file.
 This formula is just a path, but it can include the character "~".

_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.