This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
dd, physical devices, permission denied
- To: <cygwin at cygwin dot com>
- Subject: dd, physical devices, permission denied
- From: Jeff Bastian <bastian at hc dot ti dot com>
- Date: Wed, 19 Sep 2001 18:12:46 -0500 (CDT)
- Reply-To: Jeff Bastian <jmbastia at ti dot com>
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/