Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Authentication-Warning: brahms.hc.ti.com: bastian owned process doing -bs Date: Wed, 19 Sep 2001 18:12:46 -0500 (CDT) From: Jeff Bastian X-X-Sender: Reply-To: Jeff Bastian To: Subject: dd, physical devices, permission denied Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I see that the naming mechanism for drives has changed from //X to /cygdrive/X with the newest release. However, I'm having problems with the raw disk devices themselves. I was using Cygwin B20 until I upgraded today. The old method doesn't work: [Administrator]$ dd if=dos622.img of=//./a: dd: opening `//./a:': Bad address So, I tried just 'a:' for the device, but it says permission denied: [Administrator]$ dd if=dos622.img of=a: dd: opening `a:': Permission denied Trying another method yields the same thing: [Administrator]$ mount -s -b a: /dev/fd0 mount: warning - /dev/fd0 does not exist. [Administrator]$ dd if=dos622.img of=/dev/fd0 dd: opening `/dev/fd0': Permission denied I should have permission: [Administrator]$ whoami Administrator [Administrator]$ ls -ld /dev/fd0 drwxr-xr-x 0 Administ None 0 Dec 31 1969 /dev/fd0 I'm using NT4 Workstation. I'm logged in as myself, but I am a member of the Administrators group. Any ideas why I'm getting "permission denied" errors? Note, I was able to read from the disk to make the image. That is, dd if=a: of=dos622.img worked just fine. (And the write protect tab on the floppy is not set.) Thank you. ---------------------- Jeff Bastian jmbastia at ti dot com Systems & S/W Lab Texas Instruments ---------------------- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/