delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/17/07:02:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.7 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_YG
X-Spam-Check-By: sourceware.org
X-Rocket-MIMEInfo: 001.001,Q29ubmVjdGVkIGFuIGludGVybmFsIGRyaXZlIGV4dGVybmFsbHkgdG8gVVNCLgoKUGFydGl0aW9uZWQgaXQgZm9ybWF0dGVkIGl0IGluIFdpbmRvd3MgNy4KCnRvZEBjb21wCiQgY3lncGF0aCAtdyAvZGV2L3NkYzEKXFwuXEc6CgoKJCBkZCBpZj0vY3lnZHJpdmUvYy9pbWcvaW1hZ2UxM2diLmltZyBvZj0vZGV2L3NkYzEKZGQ6IHdyaXRpbmcgdG8gYC9kZXYvc2RjMSc6IFBlcm1pc3Npb24gZGVuaWVkCjE3KzAgcmVjb3JkcyBpbgoxNiswIHJlY29yZHMgb3V0CjgxOTIgYnl0ZXMgKDguMiBrQikgY29waWVkLCABMAEBAQE-
Message-ID: <1358424134.72973.YahooMailClassic@web171906.mail.ir2.yahoo.com>
Date: Thu, 17 Jan 2013 12:02:14 +0000 (GMT)
From: Marilo <narium85-mlscar AT yahoo DOT co DOT uk>
Reply-To: narium85-mlscar AT yahoo DOT co DOT uk
Subject: dd "permission denied"
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r0HC2bam011746

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. 


--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019