[pkg-nvidia-devel] Bug#483074: Bug#483074: xen.patch: Permission denied

Lennart Sorensen lsorense at csclub.uwaterloo.ca
Tue May 27 14:41:18 UTC 2008

On Tue, May 27, 2008 at 12:00:43AM +0200, Cyril Jaquier wrote:
> I compile my own kernel (using the linux-source package). So I do not
> have xen support enabled.

Oh OK.  Not that the XEN feature does anything either way under normal
use.  I always stick with the debian kernels.  They work, why waste time
building my own.  I did enough of that in the past.

> $ ls -ld /usr/src/modules/nvidia-kernel/debian/patches/
> drw-r-Sr-- 2 cyril src 4096 2008-05-26 02:20
> /usr/src/modules/nvidia-kernel/debian/patches/

You either have a umask set for your root user, or you have strange
unusual sgid or suid flags set on some directory in /usr, /usr/src,
or /usr/src/modules, or you manually extracted the nvidia-kernel sources
as another user.  If you did any of those, well don't, since that breaks
things and isn't a supported setup.

That directory should be drwxr-xr-x root src in every case I have ever

Check the permissions and ownership of /usr, /usr/src and
/usr/src/modules.  They should be:

drwxr-xr-x 19 root root 4096 Apr 21 11:08 /usr/
drwxrwsr-x 26 root src  4096 Apr 21 19:25 /usr/src/
drwxrwxr-x 11 root src  4096 Jan  4  2007 /usr/src/modules/

Len Sorensen

More information about the Pkg-nvidia-devel mailing list