X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org X-Spam-Score: 0 From: Tomas =?utf-8?q?=C3=85kesson?= To: cygwin AT cygwin DOT com Subject: Re: 1.7.7 on Windows 7: can't write to removable disk Date: Wed, 12 Jan 2011 11:18:35 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.35-24-generic; KDE/4.5.1; i686; ; ) References: <9f058f408968d2531d16a0148bcf71ec DOT squirrel AT secure DOT datasupporten DOT se> <20110111145107 DOT GG3413 AT calimero DOT vinschen DOT de> <20110111145550 DOT GH3413 AT calimero DOT vinschen DOT de> In-Reply-To: <20110111145550.GH3413@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201101121118.36448.tomas@datasupporten.se> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Tuesday the 11 January 2011 15.55.50 Corinna Vinschen wrote: > On Jan 11 15:51, Corinna Vinschen wrote: > > On Jan 10 10:40, tomas AT datasupporten DOT se wrote: > > > Hello. > > > I'm trying to write a disk image to a compact flash card with dd, but I > > > get the error: > > > "dd: writing to /dev/sdj: Permission denied" > > > > > > Apart from the CF-card, I also tried a USB-stick with the same results. > > > I'm logged in as administrator. > > > > Please have a look into http://support.microsoft.com/kb/942448 first. > > > > [...listening "De-Loused In The Comatorium" while waiting...] > > > > Finished reading? Ok. > > > > That's quite a serious restriction starting with Vista. If I destroy the > > filesystem on one of my sd cards under Linux, I can then overwrite it > > with dd under Cygwin. However, if that dd call created a valid > > filesystem on the sd card, the next write fails again. For some reason > > it does not help to unmount the filesystem on the drive via the "Disk > > Management" MMC snap-in, despite the claim in the aforementioned > > article. > > > > The solution I just checked in to Cygwin is rather complicated, but > > I really tested this a couple of hours now, and I didn't find any > > other solution. > > I forgot the disclaimer: > > Please test the next developer snapshot from http://cygwin.com/snapshots/ Thanks for the info. If I get the time I'll try the snapshot. For now I've got a workaround (using Linux). Tomas -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple