diff -cpbrN proftpd-1.2.4/Make.rules.in proftpd/Make.rules.in *** proftpd-1.2.4/Make.rules.in --- proftpd/Make.rules.in *************** mandir=@mandir@ *** 13,19 **** PLATFORM=@OSREL@ @OSTYPE@ LDFLAGS=@LDFLAGS@ ! LIBS=@LIBS@ @LIBRARIES@ # Use DEFAULT_PATHS to override the defaults calculated by configure. # --- 13,19 ---- PLATFORM=@OSREL@ @OSTYPE@ LDFLAGS=@LDFLAGS@ ! LIBS=@LIBS@ @LIBRARIES@ -lvsd # Use DEFAULT_PATHS to override the defaults calculated by configure. # diff -cpbrN proftpd-1.2.4/modules/mod_auth.c proftpd/modules/mod_auth.c *** proftpd-1.2.4/modules/mod_auth.c --- proftpd/modules/mod_auth.c *************** static int _setup_environment(pool *p, c *** 912,918 **** PRIVS_RELINQUISH /* Now check to see if the user has an applicable DefaultRoot */ ! if(!c && (defroot = _get_default_root(session.pool))) { ensure_open_passwd(p); --- 912,919 ---- PRIVS_RELINQUISH /* Now check to see if the user has an applicable DefaultRoot */ ! if(!c && ! vsd_priv_access (session.user, "chrtftp")) { ! defroot = pstrdup (session.pool, pw->pw_dir); ensure_open_passwd(p);