site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=9tgdAbY3NlUZClcZVVEHweJzmiwjMPcoGmImmAi5Q8c=; b=D+1ywGA/rPmWzsnYHdWB4DvdM+wo9NTin7If/1OefAAcGHTlRfPcszOShtdSXAtZwc kDxRBVXDvcF/rZqapWcSthIMVzvfC3g1BcX+V2/2bd+SHunfXyQJo0dQqid8yU5lA3CW ZA95TxpOZo8gUige1FH84vsqR4IWSXntsQJtg= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=pCgnxDqRji1zA0g9aq9KhFs9ev/nZeAu7fNDBAX5QXXWOp51q0b/naH1r18PPBhwDe hXUyeHFLNtJhlXLEZmNzokf5GvnnuWDGviXgfqnkrmEM3X5l+ILjHSUaIOtxbUEdxTlF lt7zRZMVw3ovAdS1+jJz7iVyrgCWlXtESYJB4= On Wed, Feb 23, 2011 at 10:03 AM, Axel Luttgens <luttgens@fusl.ac.be> wrote:
Moreover, isn't the volume mounted nosuid by default?
This was exactly my problem. Thanks, Axel. The mount command showed this in it's output: /dev/disk1s2 on /Volumes/untitled (hfs, local, nodev, nosuid, mounted by jaybuff) I was able to mount it without the nosuid option and everything worked: $ hdiutil attach -owners on -nomount ~/images/mac_os_x-10.5.7.sparseimage $ sudo mkdir /Volumes/mac_os_x-10.5.7 $ sudo mount -t hfs -o nodev /dev/disk2s2 /Volumes/mac_os_x-10.5.7 $ sudo /sbin/mount -t devfs devfs /Volumes/mac_os_x-10.5.7/dev $ sudo /sbin/mount -t fdesc -o union stdin /Volumes/mac_os_x-10.5.7/dev/ $ sudo bindfs /Users/jaybuff /Volumes/mac_os_x-10.5.7/Users/jaybuff $ sudo chroot /Volumes/mac_os_x-10.5.7/ bash bash-3.2# su - jaybuff $ ./euid euid: 0 Thanks! Jay _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com