# File ftpd/lib/symbiosis/domain/ftp.rb, line 59
      def chroot_dir=(d)
        d = d.to_s

        if d.empty?
          @chroot_dir = nil
          return @chroot_dir
        end

        #
        # If the directory is relative, prefix it with the domain's directory.
        # 
        unless d.start_with? "/"
          d = File.join(self.domain.public_dir,d,"./")
        end

        @chroot_dir = d
      end