lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 4 Jul 2011 02:49:10 -0700 (PDT)
From:	Christian Kujau <lists@...dbynature.de>
To:	LKML <linux-kernel@...r.kernel.org>
cc:	mmarek@...e.cz
Subject: .tmp_depmod owned by root after modules_install

Hi,

when building a kernel with O=$DIR, I noticed that "modules_install" now 
creates files under $DIR as root:

$ sudo make -C /usr/local/src/linux-2.6-git O=$HOME/trash/tmp/. modules_install
[...]

When trying to build a new kernel, removing $DIR as a normal user does no 
longer work as everything under $HOME/trash/tmp/.tmp_depmod/ is now owned 
by root (because of the "sudo"). This did not occur before and may be a 
consequence of:

  commit bfe5424a8b31624e7a476f959d552999f931e7c7
  Author: Michal Marek <mmarek@...e.cz>
  Date:   Thu Jun 9 16:35:41 2011 +0200

    kbuild: Hack for depmod not handling X.Y versions

Can this be changed somehow so that "make modules_install" does not write 
anything under $DIR, as before?

Thanks,
Christian.
-- 
BOFH excuse #274:

It was OK before you touched it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ