From owner-freebsd-questions Thu Dec 7 09:37:26 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA01670 for questions-outgoing; Thu, 7 Dec 1995 09:37:26 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA01665 for ; Thu, 7 Dec 1995 09:37:21 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id KAA05077; Thu, 7 Dec 1995 10:35:42 -0700 From: Terry Lambert Message-Id: <199512071735.KAA05077@phaeton.artisoft.com> Subject: Re: FreeBSD2.0.5 To: lalas@db.erau.edu (#3) Date: Thu, 7 Dec 1995 10:35:42 -0700 (MST) Cc: questions@FreeBSD.org In-Reply-To: from "#3" at Dec 6, 95 07:42:09 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org Precedence: bulk > I am a student at Embry Riddle Aeronautical University doing a project > that requires me to install FreeBSD on a PC that is not networked. I > have gone through the installation process and am required to compile a > program using the cc or gcc command. When I do this it gives me the > warning ld: a.out permission denied. If I do this from root it does > create the a.out file but it is not executable. I really need help on > this situation as I am required to present this to my instructor by > tomorrow evening. I did install the manpages and installation was > completed to 100% but was then given the warning that there was a Write > Failure, the disks were reformatted and done again but still the same > warning was given. I would also like to know how I may install some of > the other files such as games, info,....etc, without having the > installation menu. Your promptness and help will greatly be appreciated > as I only have a limited time to fix this problem. One note about the > a.out file, I did try to change the mode to 700 to make it executable but > it was not recognized. If you are root, '.' is not in your path. So you probably got: a.out: Command not found. from typing: a.out Try typing: ./a.out instead. The "permission denied" error probably means that the user ID you are logged in as does not have write permission to the directory, or there is already a file called "a.out" -- probably the one you created as root. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.