You are not logged in.

#1 2012-10-14 14:09:09

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Strange permission denied error building package... really strange

I am experiencing the same problem described here; when attempting to compile the kernel package, I am getting:

$ pwd
/home/facade/linux-3.6.2
$ make -j2 bzImage
make[1]: Nothing to be done for `all'.
  HOSTCC  arch/x86/tools/relocs
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  HOSTCC  scripts/basic/fixdep
/bin/sh: scripts/basic/fixdep: Permission denied
make[1]: *** [arch/x86/tools/relocs] Error 1
make: *** [archscripts] Error 2
make: *** Waiting for unfinished jobs....

I am that this problem is not related to the one in /etc/fstab the OP in the linked thread has:

$  grep home /etc/fstab
/dev/sda4	/home	ext4	defaults,noatime	0	1

My user completely owns /home/facade and all of its subdirectories; the x bit is indeed set of the file giving the error:

$ ls -l scripts/basic/fixdep
-rwxr-xr-x 1 facade users 9606 Oct 14 10:05 scripts/basic/fixdep

Would love to hear suggestions as to what is causing this.

Last edited by graysky (2012-10-14 14:09:26)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2012-10-14 14:53:06

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Strange permission denied error building package... really strange

Your fstab doesn't matter. The current mount options from /proc/self/mounts or /proc/self/mountinfo do.

Last edited by falconindy (2012-10-14 14:53:35)

Offline

#3 2012-10-14 15:02:21

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Strange permission denied error building package... really strange

falconindy wrote:

Your fstab doesn't matter. The current mount options from /proc/self/mounts or /proc/self/mountinfo do.

Is this essentially saying that it doesn't matter what you intended to have mounted, but rather what and how things are actually mounted?

Offline

#4 2012-10-14 15:52:20

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Strange permission denied error building package... really strange

I mean that your fstab could have all sorts of crazy options, but they aren't necessarily the ones that are in effect. I've no idea what the OP has done between when that partition was mounted until now. I have no idea when that entry in /etc/fstab was written. What I do tend to believe is what the kernel reports.

Offline

Board footer

Powered by FluxBB