This is the mail archive of the
cygwin
mailing list for the Cygwin project.
dd "permission denied"
- From: Marilo <narium85-mlscar at yahoo dot co dot uk>
- To: cygwin at cygwin dot com
- Date: Thu, 17 Jan 2013 12:02:14 +0000 (GMT)
- Subject: dd "permission denied"
- Reply-to: narium85-mlscar at yahoo dot co dot uk
Connected an internal drive externally to USB.
Partitioned it formatted it in Windows 7.
tod@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