site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=Yw84dvs9IC8TqVvC4xpJa2paIq3rw22BV7tkQAoWv/c=; b=rPcPHU6rISBwsD9eXpFqW/9gWC4HOSuIADau5OkT428fOd4WrJtpcIqwEpshJQWeDO wec6Vx/sKd38X7fzuTbzCjFMpytHFkcuKEx8oNEkHmSKcCNpYSs9WcvcPRqQSTzG6UyL tfq6k93n6Zq+dqpKXtASFJ/qGalsslUQlzxpk= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Hgub08RGNyKRkEBDxf84MVrhDt2wfaq+LMsMU33ShX5XkLUJjX2eQdcru+GetUEJ/6 FAJAi1zMS9Gj8Mw2tJlA6Li8XG4HU1daRCsNsUu5CL6zE5h4FmmNhbCwrsQe7sP6GwdV EcqeauWeF/szjHVKp78JB6PQoUNHQyfAlTRKo= Hello, I've asked this question on StackOverflow (http://stackoverflow.com/questions/4083388/changing-usb-storage-device-permi...) and thought I'd try here too. In OS X kernel space, is there a way to upgrade the permissions of a mounted USB storage device, a DOK, say, from read only to read/write? I use the init method of IOMedia: bool init( UInt64 base, UInt64 size, UInt64 preferredBlockSize, IOMediaAttributeMask attributes, bool isWhole, bool isWritable, const char *contentHint = 0, OSDictionary *properties = 0); to create and attach the child media IOStorage object with isWritable set to false, which sets the permissions of the USB device to read only, but later, I need to change the permissions to read/write without un-mounting and remounting. Cheers, Rich. -- Rich Nistuk rich@danzisoft.ca www.danzisoft.ca 778 320-8483 _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com