ports/118730: I get a 'make: Permission denied' error when I type 'make config' or 'make' (FreeBSD / *BSD)

Caner Cihan Cengiz info at ankbilisim.net
Sat Dec 15 21:30:03 UTC 2007


>Number:         118730
>Category:       ports
>Synopsis:       I get a 'make: Permission denied' error when I type 'make config' or 'make' (FreeBSD / *BSD)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 15 21:30:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Caner Cihan Cengiz
>Release:        FreeBSD 6.3-RC1-p1
>Organization:
ANKBILISIM
>Environment:
$ uname -a
FreeBSD box.domain.com 6.3-RC1-p1 FreeBSD 6.3-RC1-p1 #0: Fri Nov 30 12:48:49 UTC 2007     root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP  i386
>Description:
http://www.eggheads.org/support/egghtml/1.6.18/compiling.html

10. I get a 'make: Permission denied' error when I type 'make config' or 'make' (FreeBSD / *BSD)
This is caused by a bug in FreeBSD (and possibly other BSDs as well). 
A simple 'cd .', or changing to a different directory and then changing back, usually fixes this.


Example:

$ cd /home

$ ls
ls: .: Permission denied

$ cd

$ ls -la
total 1046
drwxr-xr-x   3 admin  wheel      512 Dec 15 21:02 .
drwx--x--x   3 root   wheel      512 Dec 15 09:20 ..
-rw-r--r--   1 admin  wheel      767 Dec 15 09:20 .cshrc
-rw-r--r--   1 admin  wheel      248 Dec 15 09:20 .login
-rw-r--r--   1 admin  wheel      158 Dec 15 09:20 .login_conf
-rw-------   1 admin  wheel      373 Dec 15 09:20 .mail_aliases
-rw-r--r--   1 admin  wheel      331 Dec 15 09:20 .mailrc
-rw-r--r--   1 admin  wheel      797 Dec 15 09:20 .profile
-rw-------   1 admin  wheel      276 Dec 15 09:20 .rhosts
-rw-r--r--   1 admin  wheel      975 Dec 15 09:20 .shrc
drwxr-xr-x  10 admin  wheel     1024 Dec 15 21:03 eggdrop1.6.17
-rw-r--r--   1 admin  wheel  1021902 Mar  9  2006 eggdrop1.6.17.tar.gz

$ cd eggdrop1.6.17

$ ./configure (finished)
Operating System: FreeBSD 6.3-RC1-p1
If you experiance any problems compiling Eggdrop, please read the
compile guide, found in doc/COMPILE-GUIDE.
Type 'make config' to configure the modules, or type 'make iconfig'
to interactively choose which modules to compile.

$ make config
make: Permission denied

$ cd .

$ make config (finished)
You can now compile the bot, using "make".

$ make (finished)
Now run "make install" to install your bot.

$ make install (finished)
Installation completed.
You MUST ensure that you edit/verify your configuration file.
An example configuration file, eggdrop.conf, is distributed with Eggdrop.
Remember to change directory to /home/admin/eggdrop before you proceed.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list