From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 16:54:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F322F16A417 for ; Tue, 12 Feb 2008 16:54:08 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 9F2CB13C45B for ; Tue, 12 Feb 2008 16:54:08 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.13.8) with ESMTP id m1CGrv7j062452; Tue, 12 Feb 2008 10:53:57 -0600 (CST) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20080212105421.024ab6b0@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Tue, 12 Feb 2008 10:55:45 -0600 To: deepcore , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <15435319.post@talk.nabble.com> References: <15427115.post@talk.nabble.com> <20080212091325.Q2271@wojtek.tensor.gdynia.pl> <15435319.post@talk.nabble.com> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Freebsd based server lacking chown command, where to get it. 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, 12 Feb 2008 16:54:09 -0000 At 10:49 AM 2/12/2008, deepcore wrote: > > > > > >ok. I get that, and i found it >I can, however not execute it. >whenever i go to the usr/sbin and type "chown" i get >chown: Command not found. > >i find this pretty strange as ls -l shows: >-r-xr-xr-x 1 root wheel 6688 Jan 12 2007 chown > >shouldn't this mean that the file is excecutable by all? >even tried to switch to root first (just executing su) > >... >What i am more specifically trying to do is change the ownership of all the >directories and files on a specific disk, mounted as /mnt/moviedisk, to the >user that is supposed to own them. > >Any surgestions? What am i doing wrong as i cannot execute the chown >command? Sounds like your path doesn't include /usr/sbin, or /usr/sbin or /usr is mounted without exec. Have you tried executing with the complete path: /usr/sbin/chown -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.