From owner-freebsd-questions@FreeBSD.ORG Tue Jul 18 21:31:56 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3233416A4DD for ; Tue, 18 Jul 2006 21:31:56 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id C617C43D49 for ; Tue, 18 Jul 2006 21:31:55 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [192.168.2.2] ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id k6ILUXoj053033; Tue, 18 Jul 2006 16:30:55 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <44BD52EC.601@daleco.biz> Date: Tue, 18 Jul 2006 16:30:20 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.4) Gecko/20060623 SeaMonkey/1.0.2 MIME-Version: 1.0 To: "gs_stoller@juno.com" References: <20060718.132923.24612.361057@webmail39.nyc.untd.com> In-Reply-To: <20060718.132923.24612.361057@webmail39.nyc.untd.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ln -s in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 21:31:56 -0000 gs_stoller@juno.com wrote: > In FreeBSD 6.1 , there was created a directory named /var . > I created a subdirectory in it named homes , and in that more > subdirectories, one per user in /home . > As a plain user , I tried to create (while in my home directory) > a subdirectory named var by typing > ln -s /var/homes/me var > Then I checked it by typing 'ls -l var' and got > /compat/linux/var > as the destination of the link. What is happening? Is this a bug in > FreeBSD 6.1 ? No: # uname -a FreeBSD archangel.daleco.biz 6.1-STABLE FreeBSD 6.1-STABLE #2: Sat May 27 07:15:18 CDT 2006 root@archangel.daleco.biz:/usr/obj/backup/src/sys/GENERIC i386 # sudo mkdir -p /var/homes/me # pwd /usr/home/kadmin # ln -s /var/homes/me var # ls -l var lrwxr-xr-x 1 kadmin wheel 13 Jul 18 16:20 var@ -> /var/homes/me What shell are you using? Or, did you do this from some other program? Can you show the actual output? You've given a very descriptive message right up to "A subdirectory named var"; ln(1) does not create subdirectories. Kevin Kinsey