From owner-freebsd-questions Thu Dec 7 06:38:37 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA16704 for questions-outgoing; Thu, 7 Dec 1995 06:38:37 -0800 (PST) Received: from buffnet4.buffnet.net (root@buffnet4.buffnet.net [205.246.19.13]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA16689 for ; Thu, 7 Dec 1995 06:38:30 -0800 (PST) Received: from buffnet1.buffnet.net (mmdf@buffnet1.buffnet.net [205.246.19.10]) by buffnet4.buffnet.net (8.6.9/8.6.9) with SMTP id JAA17781 for ; Thu, 7 Dec 1995 09:40:50 -0500 Received: from buffnet3.buffnet.net by buffnet1.buffnet.net id aa01870; 7 Dec 95 9:40 EST Date: Thu, 7 Dec 1995 09:40:57 -0500 (EST) From: steve hovey To: #3 cc: questions@freebsd.org Subject: Re: FreeBSD2.0.5 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk On Wed, 6 Dec 1995, #3 wrote: > > > 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 the first time you compiled you did it as root - then there would be an a.out sitting there with root ownership which would not allow a regular user to over write it with a new a.out. As to running it - if you are in the directory that any program is in that you want to manually invoke you must precede the name with ./ or else it wont be found. So you would type: ./a.out and not just a.out ------------------------------------------------------------- Steve Hovey -- shovey@buffnet.net root@buffnet.net