* Re: Creation of weird WINDOWS-related (sub)directories
@ 2018-09-25 15:16 Fergus
2018-09-25 15:33 ` Marco Atzeri
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Fergus @ 2018-09-25 15:16 UTC (permalink / raw)
To: cygwin; +Cc: Fergus
>> Just noticed: strange directory %SystemDrive% created at root of Cygwin
>> installation:
>> As in:
>> /consoleX/%SystemDrive%
> I doubt it is due to a cygwin program.
> "consoleX" does not appear in the package search
> https://cygwin.com/cgi-bin2/package-grep.cgi
Unintentionally I have confounded the discussion. The directory named
"consoleX" is my home-grown Cygwin root directory.
(Others' preferred locationname might be "cygwin" or "mycygwin" or
whatever.)
The directory %SystemDrive% occurs at the root of the Cygwin filesystem.
I cannot work out what activity has triggered it .. ..
Fergus
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Creation of weird WINDOWS-related (sub)directories
2018-09-25 15:16 Creation of weird WINDOWS-related (sub)directories Fergus
@ 2018-09-25 15:33 ` Marco Atzeri
2018-09-25 15:35 ` Andrey Repin
2018-09-25 16:53 ` Hans-Bernhard Bröker
2 siblings, 0 replies; 7+ messages in thread
From: Marco Atzeri @ 2018-09-25 15:33 UTC (permalink / raw)
To: cygwin
Am 25.09.2018 um 17:16 schrieb Fergus:
>>> Just noticed: strange directory %SystemDrive% created at root of Cygwin
>>> installation:
>>> As in:
>>> /consoleX/%SystemDrive%
>
>> I doubt it is due to a cygwin program.
>> "consoleX" does not appear in the package search
>> https://cygwin.com/cgi-bin2/package-grep.cgi
>
> Unintentionally I have confounded the discussion. The directory named
> "consoleX" is my home-grown Cygwin root directory.
> (Others' preferred locationname might be "cygwin" or "mycygwin" or
> whatever.)
> The directory %SystemDrive% occurs at the root of the Cygwin filesystem.
> I cannot work out what activity has triggered it .. ..
> Fergus
I will bet a Windows Programs as on CMD
C:\Users\Marco>echo %SystemDrive%
C:
so %SystemDrive%/ProgramData/Microsoft/Windows/Caches
is likely C:/ProgramData/Microsoft/Windows/Caches
---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Creation of weird WINDOWS-related (sub)directories
2018-09-25 15:16 Creation of weird WINDOWS-related (sub)directories Fergus
2018-09-25 15:33 ` Marco Atzeri
@ 2018-09-25 15:35 ` Andrey Repin
2018-09-25 16:53 ` Hans-Bernhard Bröker
2 siblings, 0 replies; 7+ messages in thread
From: Andrey Repin @ 2018-09-25 15:35 UTC (permalink / raw)
To: Fergus, cygwin
Greetings, Fergus!
>>> Just noticed: strange directory %SystemDrive% created at root of Cygwin
>>> installation:
>>> As in:
>>> /consoleX/%SystemDrive%
>> I doubt it is due to a cygwin program.
>> "consoleX" does not appear in the package search
>> https://cygwin.com/cgi-bin2/package-grep.cgi
> Unintentionally I have confounded the discussion. The directory named
> "consoleX" is my home-grown Cygwin root directory.
> (Others' preferred locationname might be "cygwin" or "mycygwin" or
> whatever.)
> The directory %SystemDrive% occurs at the root of the Cygwin filesystem.
> I cannot work out what activity has triggered it .. ..
Any script that did not resolve environments correctly, or mangled Windows and
Cygwin environment into a mess.
%SystemDrive% is supposed to point to the drive of your Windows installation
(f.e. "C:").
P.S.
It would be very much appreciated, if you do not break threading.
Either reply to the message you received, or if you subscribed to a digest,
reply to your own most recent message.
--
With best regards,
Andrey Repin
Tuesday, September 25, 2018 18:22:08
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Creation of weird WINDOWS-related (sub)directories
2018-09-25 15:16 Creation of weird WINDOWS-related (sub)directories Fergus
2018-09-25 15:33 ` Marco Atzeri
2018-09-25 15:35 ` Andrey Repin
@ 2018-09-25 16:53 ` Hans-Bernhard Bröker
2018-09-28 5:55 ` L A Walsh
2 siblings, 1 reply; 7+ messages in thread
From: Hans-Bernhard Bröker @ 2018-09-25 16:53 UTC (permalink / raw)
To: cygwin
Am 25.09.2018 um 17:16 schrieb Fergus:
> Unintentionally I have confounded the discussion. The directory named
> "consoleX" is my home-grown Cygwin root directory.
> (Others' preferred locationname might be "cygwin" or "mycygwin" or
> whatever.)
That does not explain anything, actually. Cygwin's own root directory
is always '/'. The one you speak of would be the windows-side
installation root directory (c:\cygwin or c:\cygwin64 by default), but
that would never show up like that from inside cygwin. I.e. while you
do have
c:\consoleX\bin
that will not show up as
/consoleX/bin
but rather as
/bin
or
/cygdrive/c/consoleX/bin
> The directory %SystemDrive% occurs at the root of the Cygwin filesystem.
> I cannot work out what activity has triggered it .. ..
A look at the creation time of the directory might provide insightful.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Creation of weird WINDOWS-related (sub)directories
2018-09-25 16:53 ` Hans-Bernhard Bröker
@ 2018-09-28 5:55 ` L A Walsh
0 siblings, 0 replies; 7+ messages in thread
From: L A Walsh @ 2018-09-28 5:55 UTC (permalink / raw)
To: cygwin, fergus
On 9/25/2018 9:53 AM, Hans-Bernhard Bröker wrote:
> Am 25.09.2018 um 17:16 schrieb Fergus:
>
>> Unintentionally I have confounded the discussion. The directory named
>> "consoleX" is my home-grown Cygwin root directory.
>> (Others' preferred locationname might be "cygwin" or "mycygwin" or
>> whatever.)
>
> That does not explain anything, actually. Cygwin's own root directory
> is always '/'. The one you speak of would be the windows-side
> installation root directory (c:\cygwin or c:\cygwin64 by default), but
> that would never show up like that from inside cygwin. I.e. while you
> do have
----
So the root of the cygwin drive is '/', so what would happen
if a cygwin program tried to expand a windows path, with a windows
variable in it, like '%SystemDrive%'.... Seems to me that
whatever that program is, it *IS* running under cygwin and using
a windows path with the win-var unexpanded.
If I understand correctly, the weird dir is at absolute
(from windows C:\) path:
C:/consoleX/%SystemDrive%/ProgramData/Microsoft/Windows/Caches
or, inside cygwin, you see:
/%SystemDrive%/ProgramData/Microsoft/Windows/Caches
yes? Doesn't matter _that_ much, I'd just work
around it by moving it aside and creating a symlink in windows
from %SystemDrive% => C:\. Hopefully whatever is creating
it won't delete the symlink. If it does, you can retry
the command specifying /j to make a windows junction.
(in cmd.exe, you should be able to type mklink /h for help).
Note, in windows, mklink, the order is mklink <to> <from> (sorta
backwards from normal *nix conventions).
If you were curious and a bit daring,
you could put an empty %systemdrive% directory
there instead of the one it was using and make it read-only & set
the system attribute. Then whatever is trying to write into
it should fail and hopefully you'll see an error message...
to set read-only and
system with the attrib command try
attrib +r +s <filename>
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Creation of weird WINDOWS-related (sub)directories
2018-09-25 14:05 Fergus
@ 2018-09-25 14:43 ` Marco Atzeri
0 siblings, 0 replies; 7+ messages in thread
From: Marco Atzeri @ 2018-09-25 14:43 UTC (permalink / raw)
To: cygwin
Am 25.09.2018 um 16:05 schrieb Fergus:
> Just noticed: strange directory %SystemDrive% created at root of Cygwin
> installation:
> As in:
>
> /consoleX/%SystemDrive%
> /consoleX/%SystemDrive%/ProgramData
> /consoleX/%SystemDrive%/ProgramData/Microsoft
> /consoleX/%SystemDrive%/ProgramData/Microsoft/Windows
> /consoleX/%SystemDrive%/ProgramData/Microsoft/Windows/Caches
>
> /consoleX/%SystemDrive%/ProgramData/Microsoft/Windows/Caches/cversions.2.db
>
> /consoleX/%SystemDrive%/ProgramData/Microsoft/Windows/Caches/{69CFC75E-EC11-
> 4152-A489-8B4850814862}.2.ver0x0000000000000001.db
>
> /consoleX/%SystemDrive%/ProgramData/Microsoft/Windows/Caches/{6AF0698E-D558-
> 4F6E-9B3C-3716689AF493}.2.ver0x0000000000000001.db
>
> /consoleX/%SystemDrive%/ProgramData/Microsoft/Windows/Caches/{9BF0A9D6-626F-
> 4F67-8DFA-14BFC3D7213A}.2.ver0x0000000000000001.db
>
> /consoleX/%SystemDrive%/ProgramData/Microsoft/Windows/Caches/{DDF571F2-BE98-
> 426D-8288-1A9A39C3FDA2}.2.ver0x0000000000000001.db
>
> Any ideas why? .. how to prevent?
> Thank you!
> Fergus
>
>
I doubt it is due to a cygwin program.
"consoleX" does not appear in the package search
https://cygwin.com/cgi-bin2/package-grep.cgi
---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 7+ messages in thread
* Creation of weird WINDOWS-related (sub)directories
@ 2018-09-25 14:05 Fergus
2018-09-25 14:43 ` Marco Atzeri
0 siblings, 1 reply; 7+ messages in thread
From: Fergus @ 2018-09-25 14:05 UTC (permalink / raw)
To: cygwin; +Cc: Fergus
Just noticed: strange directory %SystemDrive% created at root of Cygwin
installation:
As in:
/consoleX/%SystemDrive%
/consoleX/%SystemDrive%/ProgramData
/consoleX/%SystemDrive%/ProgramData/Microsoft
/consoleX/%SystemDrive%/ProgramData/Microsoft/Windows
/consoleX/%SystemDrive%/ProgramData/Microsoft/Windows/Caches
/consoleX/%SystemDrive%/ProgramData/Microsoft/Windows/Caches/cversions.2.db
/consoleX/%SystemDrive%/ProgramData/Microsoft/Windows/Caches/{69CFC75E-EC11-
4152-A489-8B4850814862}.2.ver0x0000000000000001.db
/consoleX/%SystemDrive%/ProgramData/Microsoft/Windows/Caches/{6AF0698E-D558-
4F6E-9B3C-3716689AF493}.2.ver0x0000000000000001.db
/consoleX/%SystemDrive%/ProgramData/Microsoft/Windows/Caches/{9BF0A9D6-626F-
4F67-8DFA-14BFC3D7213A}.2.ver0x0000000000000001.db
/consoleX/%SystemDrive%/ProgramData/Microsoft/Windows/Caches/{DDF571F2-BE98-
426D-8288-1A9A39C3FDA2}.2.ver0x0000000000000001.db
Any ideas why? .. how to prevent?
Thank you!
Fergus
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-09-28 5:55 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-25 15:16 Creation of weird WINDOWS-related (sub)directories Fergus
2018-09-25 15:33 ` Marco Atzeri
2018-09-25 15:35 ` Andrey Repin
2018-09-25 16:53 ` Hans-Bernhard Bröker
2018-09-28 5:55 ` L A Walsh
-- strict thread matches above, loose matches on Subject: below --
2018-09-25 14:05 Fergus
2018-09-25 14:43 ` Marco Atzeri
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).