From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 17:18:55 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 7F2C716A418 for ; Tue, 12 Feb 2008 17:18:55 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from mail.barafranca.com (mail.barafranca.com [67.213.67.47]) by mx1.freebsd.org (Postfix) with ESMTP id 54C1C13C442 for ; Tue, 12 Feb 2008 17:18:55 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from localhost (unknown [172.16.100.24]) by mail.barafranca.com (Postfix) with ESMTP id 0EB78620; Tue, 12 Feb 2008 17:18:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at barafranca.com Received: from mail.barafranca.com ([172.16.100.24]) by localhost (mail.barafranca.com [172.16.100.24]) (amavisd-new, port 10024) with ESMTP id e-3mclQvj9is; Tue, 12 Feb 2008 17:18:14 +0000 (UTC) Received: from [192.168.200.26] (a213-22-25-165.cpe.netcabo.pt [213.22.25.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.barafranca.com (Postfix) with ESMTP id AB51D61A; Tue, 12 Feb 2008 17:18:13 +0000 (UTC) Message-ID: <47B1D4E7.6000001@barafranca.com> Date: Tue, 12 Feb 2008 17:18:31 +0000 From: Hugo Silva User-Agent: Thunderbird 2.0.0.9 (X11/20071213) MIME-Version: 1.0 To: deepcore , freebsd-questions@freebsd.org References: <15427115.post@talk.nabble.com> <20080212091325.Q2271@wojtek.tensor.gdynia.pl> <15435319.post@talk.nabble.com> In-Reply-To: <15435319.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 17:18:55 -0000 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? > > > /usr/sbin/chown cd /usr/sbin; ./chown Hugo