-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 26 Jul 2000, Thierry SAURA wrote:

TS>Date: Wed, 26 Jul 2000 12:40:52 +0200 (CEST)
TS>From: Thierry SAURA <[EMAIL PROTECTED]>
TS>To: [EMAIL PROTECTED]
TS>Subject: [Cooker] cvs-1.10.8-2mdk
TS>
TS>
TS>       I have a pserver problem :
TS>cvs checkout toto
TS>cvs server: cannot open /root/.cvsignore: Permission non accord�e
TS>cvs [server aborted]: can't chdir(/root): Permission non accord�e
TS>
TS># inetd.conf
TS>cvspserver stream  tcp  nowait  root  /usr/sbin/cvspserver cvspserver
TS>
TS>'cvs update toto' works well
TS>
TS>     any idea ?
TS>     
TS>Thierry.

Yes, you have (or better MandrakeSoft developers) to apply this ancient patch
(attached).


Regards,
        Dmitry

+-------------------------------------------------------------------------+
Dmitry V. Levin     mailto:[EMAIL PROTECTED]
Software Engineer   PGP pubkey http://www.fandra.org/users/ldv/pgpkeys.html
IPLabs Linux Team   http://linux.iplabs.ru
Fandra Project      http://www.fandra.org
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who it's friends are.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5gCnfZqIoNiVITrsRAnEGAKCljEE38tZVG87zG7hhWkowgSsmsQCgi0c2
3wS/6Tz8U+MLdnclUihfTfE=
=mYPP
-----END PGP SIGNATURE-----
diff -dur cvs-1.10.7-orig/src/server.c cvs-1.10.7/src/server.c
--- cvs-1.10.7-orig/src/server.c        Tue Nov  9 15:08:59 1999
+++ cvs-1.10.7/src/server.c     Tue Nov  9 16:37:44 1999
@@ -5154,6 +5154,12 @@
        already set to something else.  */
     {
        char *env;
+       char *pwdir = pw->pw_dir ? pw->pw_dir : "/";
+
+       env = xmalloc( sizeof("HOME=") + strlen( pwdir ) );
+       strcpy( env, "HOME=" );
+       strcat( env, pwdir );
+       putenv( env );
 
        env = xmalloc (sizeof "LOGNAME=" + strlen (username));
        (void) sprintf (env, "LOGNAME=%s", username);

Reply via email to