public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Hashim Aziz <hashaziz@hotmail.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: cat /proc/partitions shows only devices, not partitions
Date: Sat, 7 Mar 2020 20:36:56 +0000	[thread overview]
Message-ID: <DB7PR01MB5193875341A6E76EFB77D6F8D5E00@DB7PR01MB5193.eurprd01.prod.exchangelabs.com> (raw)
In-Reply-To: <DB7PR01MB519331A257EE49789026959CD5E40@DB7PR01MB5193.eurprd01.prod.exchangelabs.com>

An update to this, I resorted to nuking and then re-installing Cygwin from scratch, and the problem STILL persists. This seems to suggest that something is wrong with Windows itself that is responsible for Cygwin no longer being able to see the the drive letters that partitions are mounted at, but what that something could be I have no idea anymore.
________________________________
From: Hashim Aziz <hashaziz@hotmail.com>
Sent: 03 March 2020 4:32 PM
To: cygwin@cygwin.com <cygwin@cygwin.com>
Subject: Re: cat /proc/partitions shows only devices, not partitions

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):

$ chown $USER /* -v
ownership of '/bin' retained as Hashim
chown: changing ownership of '/cygdrive': Permission denied
failed to change ownership of '/cygdrive' from Hashim to Hashim
chown: changing ownership of '/Cygwin.bat': Permission denied
failed to change ownership of '/Cygwin.bat' from Hashim to Hashim
chown: changing ownership of '/Cygwin.ico': Permission denied
failed to change ownership of '/Cygwin.ico' from Hashim to Hashim
chown: changing ownership of '/Cygwin-Terminal.ico': Permission denied
failed to change ownership of '/Cygwin-Terminal.ico' from Hashim to Hashim
ownership of '/dev' retained as Hashim
ownership of '/etc' retained as Hashim
ownership of '/home' retained as Hashim
ownership of '/lib' retained as Hashim
ownership of '/opt' retained as Hashim
chown: changing ownership of '/proc': Operation not permitted
failed to change ownership of '/proc' from Hashim to Hashim
ownership of '/sbin' retained as Hashim
ownership of '/srv' retained as Hashim
ownership of '/tmp' retained as Hashim
ownership of '/usr' retained as Hashim
ownership of '/var' retained as Hashim

Whether the above output is normal or not I'm unsure.



From: Corinna Vinschen
Sent: Tuesday, March 03, 2020 10:44 AM
To: Hashim Aziz
Cc: cygwin@cygwin.com
Subject: Re: cat /proc/partitions shows only devices, not partitions




On Mar  3 00:54, Hashim Aziz wrote:

> Hey Corinna, thanks for your quick reply.

>

> Regarding the elevated shell - I'm unsure of exactly how to run an

> elevated Cygwin shell?



Right click on the Cygwin Terminal icon on the desktop, choose the

item "Run as administrator".



I have no idea why your system has different permissions, but at least

you should be able to see the info in an elevated shell.



Corinna



--

Corinna Vinschen

Cygwin Maintainer


  parent reply	other threads:[~2020-03-07 20:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-03 17:21 Hashim Aziz
2020-03-03 18:17 ` Corinna Vinschen
2020-03-07 20:36 ` Hashim Aziz [this message]
2020-03-09  3:11   ` Andrey Repin
  -- strict thread matches above, loose matches on Subject: below --
2020-03-09 15:47 Hashim Aziz
2020-03-09 15:59 ` Bill Stewart
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=DB7PR01MB5193875341A6E76EFB77D6F8D5E00@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).