From: Hashim Aziz <hashaziz@hotmail.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: cat /proc/partitions shows only devices, not partitions
Date: Mon, 9 Mar 2020 15:47:46 +0000 [thread overview]
Message-ID: <DB7PR01MB51935F7E2A0B9649E7B32A7FD5FE0@DB7PR01MB5193.eurprd01.prod.exchangelabs.com> (raw)
I see. Do you know how I would go about resolving this, as I am using an Administrator account and have never run into any other issues reading, writing or otherwise making changes to those drives.
Hashim
________________________________
From: cygwin-owner@cygwin.com on behalf of Corinna Vinschen
Sent: Tuesday, March 03, 2020 4:46 PM
To: cygwin@cygwin.com
Subject: Re: cat /proc/partitions shows only devices, not partitions
On Mar 3 16:32, Hashim Aziz wrote:
> Yes, this was what I expected you meant by elevated shell. I tried that earlier and got no luck (though I tried the link to the Cygwin terminal in my start menu
> not a desktop shortcut), and I just tried again after attempting several permissions fixes but still no luck.
>
> The permissions fixed I tried were:
>
> - Right-clicking and deselecting Read-Only on the cygwin64 folder
> - Resetting permissions with the CMD command: icacls c:\cygwin64 /reset /t /l /c
> - Taking control of the Cygwin folder with the following command (itself run from an elevated window):
> [...]
When I was talking about permissions, I was talking about permissions on
the native Windows devices, not any permissions on Cygwin files.
The strace output shows that you don't have permissions to call
DeviceIoControl(IOCTL_DISK_GET_PARTITION_INFO) or
DeviceIoControl(IOCTL_DISK_GET_PARTITION_INFO_EX) on the devices
representing the partitions in the native NT device namespace, i.e.,
\Device\Harddisk0\Partition0, etc.
Corinna
--
Corinna Vinschen
Cygwin Maintainer
next reply other threads:[~2020-03-09 15:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-09 15:47 Hashim Aziz [this message]
2020-03-09 15:59 ` Bill Stewart
-- strict thread matches above, loose matches on Subject: below --
2020-03-03 17:21 Hashim Aziz
2020-03-03 18:17 ` Corinna Vinschen
2020-03-07 20:36 ` Hashim Aziz
2020-03-09 3:11 ` Andrey Repin
2020-03-03 1:01 Hashim Aziz
2020-03-03 0:55 Hashim Aziz
2020-03-03 10:44 ` Corinna Vinschen
2020-03-01 21:16 Hashim Aziz
2020-03-02 16:56 ` Corinna Vinschen
2020-03-04 19:35 ` Andrey Repin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DB7PR01MB51935F7E2A0B9649E7B32A7FD5FE0@DB7PR01MB5193.eurprd01.prod.exchangelabs.com \
--to=hashaziz@hotmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).