X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-5.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_YG X-Spam-Check-By: sourceware.org X-Received: by 10.49.108.9 with SMTP id hg9mr5959124qeb.34.1358428999218; Thu, 17 Jan 2013 05:23:19 -0800 (PST) Message-ID: <50F7FB43.9020601@gmail.com> Date: Thu, 17 Jan 2013 14:23:15 +0100 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: dd "permission denied" References: <1358424134 DOT 72973 DOT YahooMailClassic AT web171906 DOT mail DOT ir2 DOT yahoo DOT com> In-Reply-To: <1358424134.72973.YahooMailClassic@web171906.mail.ir2.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 1/17/2013 1:02 PM, Marilo wrote: > Connected an internal drive externally to USB. > > Partitioned it formatted it in Windows 7. > > tod AT comp > $ cygpath -w /dev/sdc1 > \\.\G: > > > $ dd if=/cygdrive/c/img/image13gb.img of=/dev/sdc1 > dd: writing to `/dev/sdc1': Permission denied > 17+0 records in > 16+0 records out > 8192 bytes (8.2 kB) copied, 0.0709889 s, 115 kB/s > > I've given permissions to all users and administrator, and added "Everyone" and given permission to Everyone, from within windows. Still get the error. I've tried taking ownership such that the owner is "tod" instead of whatever it was "system" or administrator(s). Still same error. > > I tried running process explorer, find..find handle, looking for any file being used so locking it, searched for G:\. Nope, nothing. > try to unmount it, probably you have some service like Antivirus or file indexing that is locking the partition Regards Marco -- 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