delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/19/19:13:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <bastian AT hc DOT ti DOT com>
X-X-Sender: <bastian AT brahms>
Reply-To: Jeff Bastian <jmbastia AT ti DOT com>
To: <cygwin AT cygwin DOT com>
Subject: dd, physical devices, permission denied
Message-ID: <Pine.GSO.4.33.0109191759320.14422-100000@brahms>
MIME-Version: 1.0

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/

- Raw text -


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