From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 17:24:45 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 5B28716A419 for ; Tue, 12 Feb 2008 17:24:45 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 1813F13C468 for ; Tue, 12 Feb 2008 17:24:44 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m1CHL3At062442; Tue, 12 Feb 2008 12:21:03 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m1CHL3VR062441; Tue, 12 Feb 2008 12:21:03 -0500 (EST) (envelope-from jerrymc) Date: Tue, 12 Feb 2008 12:21:03 -0500 From: Jerry McAllister To: deepcore Message-ID: <20080212172103.GB62034@gizmo.acns.msu.edu> References: <15427115.post@talk.nabble.com> <20080212091325.Q2271@wojtek.tensor.gdynia.pl> <15435319.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15435319.post@talk.nabble.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org 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:24:45 -0000 On Tue, Feb 12, 2008 at 08:49:22AM -0800, 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. That is most likely because it is not in your path. It you had typed '/usr/sbin/chown ...' then it would probably work. The better thing is to put /usr/sbin in your standard path. You can to that in .login. The handbook and man pages cover modifying your path. ////jerry > > 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? > > > -- > View this message in context: http://www.nabble.com/Freebsd-based-server-lacking-chown-command%2C-where-to-get-it.-tp15427115p15435319.html > Sent from the freebsd-questions mailing list archive at Nabble.com. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"