All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hamish Moffatt <hamish@cloud.net.au>
To: buildroot@busybox.net
Subject: [Buildroot] jffs2root/ext2root targets squash ownership even if option disabled
Date: Wed, 2 Apr 2008 11:04:51 +1100	[thread overview]
Message-ID: <20080402000451.GB4616@cloud.net.au> (raw)

The ext2 and jffs2 targets both have options to set all file ownerships
to root:root;

config BR2_TARGET_ROOTFS_EXT2_SQUASH
	bool "Make all files be owned by root"
	depends on  BR2_TARGET_ROOTFS_EXT2
	default y

If enabled, they pass an appropriate option to genext2fs / mkfs.jffs2
respectively.

However regardless of whether it's enabled, they both chown all the
files to root:root anyway;

	echo "chown -R 0:0 $(TARGET_DIR)" >> $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(EXT2_TARGET))

Does anyone know why? It appears to be a bug.


Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>

                 reply	other threads:[~2008-04-02  0:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080402000451.GB4616@cloud.net.au \
    --to=hamish@cloud.net.au \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.