Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Dec 1995 09:40:57 -0500 (EST)
From:      steve hovey <>
To:        #3 <>
Subject:   Re: FreeBSD2.0.5
Message-ID:  <>
In-Reply-To: <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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:


and not just a.out

Steve Hovey --

Want to link to this message? Use this URL: <>