public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Mount / Access is Denied
@ 2014-03-08 13:05 Cicero Silva Luiz Junior
  2014-03-09 18:08 ` Andrey Repin
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Cicero Silva Luiz Junior @ 2014-03-08 13:05 UTC (permalink / raw)
  To: cygwin

Hi everyone,

I'm having some trouble getting Cygwin x86_64 to install. Whenever I
try to install it says "Mount - Access is Denied". When I click OK it
just closes.

I'm starting setup with the -B parameter, because I simply want it to
install to a directory and not touch any OS settings. I have tried
many other tricks but it always says "Mount / Access is Denied". I
have even tried using x86 only version, but it fails exactly the same
way.

I examined setup.log and setup.log.full and there's nothing really
useful there. Only thing "more or less" useful is it says it is trying
to open Service Control Manager and it fails, but that's pretty much
expected… Anyways, files attached below:
--------------------------------------------------------------------------
setup.log:
2014/03/08 02:23:04 Starting cygwin install, version 2.844
2014/03/08 02:23:04 User has NO backup/restore rights
2014/03/08 02:23:04 io_stream_cygfile: fopen(/etc/setup/setup.rc)
failed 2 No such file or directory
2014/03/08 02:23:04 Current Directory: C:\Temp
2014/03/08 02:23:04 Could not open Service control manager
2014/03/08 02:23:07 source: from local dir
2014/03/08 02:23:10 root: C:\cygwin64 system
2014/03/08 02:23:19 Selected local directory: C:\Temp\Cygwin64
2014/03/08 02:23:19 io_stream_cygfile: fopen(/etc/setup/installed.db)
failed 2 No such file or directory
2014/03/08 02:23:20 io_stream_cygfile: fopen(/etc/setup/timestamp)
failed 2 No such file or directory
2014/03/08 02:23:44 Ending cygwin install
----------------------------------------------------------------------------
setup.log.full:
2014/03/08 02:23:04 Starting cygwin install, version 2.844
2014/03/08 02:23:04 User has NO backup/restore rights
2014/03/08 02:23:04 io_stream_cygfile: fopen(/etc/setup/setup.rc)
failed 2 No such file or directory
2014/03/08 02:23:04 Current Directory: C:\Temp
2014/03/08 02:23:04 Could not open Service control manager
2014/03/08 02:23:07 source: from local dir
2014/03/08 02:23:10 root: C:\cygwin64 system
2014/03/08 02:23:19 Selected local directory: C:\Temp\Cygwin64
Found ini file -
C:\Temp\Cygwin64/http%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/setup.ini
2014/03/08 02:23:19 io_stream_cygfile: fopen(/etc/setup/installed.db)
failed 2 No such file or directory
2014/03/08 02:23:20 io_stream_cygfile: fopen(/etc/setup/timestamp)
failed 2 No such file or directory
2014/03/08 02:23:44 Ending cygwin install
------------------------------------------------------------------------

My OS is Windows 8.1 x64. UAC is on, behavior set as Prompt for
Credentials on Secure Desktop. Only elavate executables that are
signed and only elevate apps in secure locations settings are both on.
Any help is greatly appreciated.

Thanks,

cicao

Sent from Windows Mail

--
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: Mount / Access is Denied
  2014-03-08 13:05 Mount / Access is Denied Cicero Silva Luiz Junior
@ 2014-03-09 18:08 ` Andrey Repin
  2014-03-09 22:13 ` PolarStorm
  2014-04-20  2:21 ` Zeranoe
  2 siblings, 0 replies; 7+ messages in thread
From: Andrey Repin @ 2014-03-09 18:08 UTC (permalink / raw)
  To: Cicero Silva Luiz Junior, cygwin

Greetings, Cicero Silva Luiz Junior!

> Hi everyone,

> I'm having some trouble getting Cygwin x86_64 to install. Whenever I
> try to install it says "Mount - Access is Denied". When I click OK it
> just closes.

> I'm starting setup with the -B parameter, because I simply want it to
> install to a directory and not touch any OS settings.

Cygwin by itself doesn't touch any system settings.

> I have tried many other tricks but it always says "Mount / Access is
> Denied". I have even tried using x86 only version, but it fails exactly the
> same way.

Do you have rights to write to directory you're trying to install it to?...


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 08.03.2014, <16:48>

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: Mount / Access is Denied
  2014-03-08 13:05 Mount / Access is Denied Cicero Silva Luiz Junior
  2014-03-09 18:08 ` Andrey Repin
@ 2014-03-09 22:13 ` PolarStorm
  2014-04-20  2:21 ` Zeranoe
  2 siblings, 0 replies; 7+ messages in thread
From: PolarStorm @ 2014-03-09 22:13 UTC (permalink / raw)
  To: cygwin

Cicero Silva Luiz Junior wrote
> I'm starting setup with the -B parameter, because I simply want it to
> install to a directory and not touch any OS settings. I have tried
> many other tricks but it always says "Mount / Access is Denied". I
> have even tried using x86 only version, but it fails exactly the same
> way.

How exactly are you installing it? Show us the command you're using. If
trying to install from command line, you'll probably have to do it from an
Administration shell. Else try to run installer exe as administrator.



--
View this message in context: http://cygwin.1069669.n5.nabble.com/Mount-Access-is-Denied-tp106958p106969.html
Sent from the Cygwin list mailing list archive at Nabble.com.

--
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: Mount / Access is Denied
  2014-03-08 13:05 Mount / Access is Denied Cicero Silva Luiz Junior
  2014-03-09 18:08 ` Andrey Repin
  2014-03-09 22:13 ` PolarStorm
@ 2014-04-20  2:21 ` Zeranoe
  2014-04-20 16:26   ` Robert Pendell
  2 siblings, 1 reply; 7+ messages in thread
From: Zeranoe @ 2014-04-20  2:21 UTC (permalink / raw)
  To: cygwin

On 3/8/2014 12:50 AM, Cicero Silva Luiz Junior wrote:
> My OS is Windows 8.1 x64. UAC is on, behavior set as Prompt for
> Credentials on Secure Desktop. Only elavate executables that are
> signed and only elevate apps in secure locations settings are both on.
> Any help is greatly appreciated.

I just ran into this issue too.

Everything worked fine on Windows 7 SP1 64-bit, but the same command on 
Windows 8.1 fails with the same error.

I'm using --no-admin, and have write access to the root and local folders.

This seems to be a Windows 8.1 (maybe 8 as well) issue.

I would be happy to provide any further information about this, but 
currently the command line method is useless on Windows 8.1 unless you 
have admin privileges.

Thanks,
   Kyle

--
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: Mount / Access is Denied
  2014-04-20  2:21 ` Zeranoe
@ 2014-04-20 16:26   ` Robert Pendell
  2014-04-20 18:30     ` Kyle
  2014-04-22 11:51     ` Corinna Vinschen
  0 siblings, 2 replies; 7+ messages in thread
From: Robert Pendell @ 2014-04-20 16:26 UTC (permalink / raw)
  To: cygwin

On Sat, Apr 19, 2014 at 10:21 PM, Zeranoe wrote:
> On 3/8/2014 12:50 AM, Cicero Silva Luiz Junior wrote:
>>
>> My OS is Windows 8.1 x64. UAC is on, behavior set as Prompt for
>> Credentials on Secure Desktop. Only elavate executables that are
>> signed and only elevate apps in secure locations settings are both on.
>> Any help is greatly appreciated.
>
>
> I just ran into this issue too.
>
> Everything worked fine on Windows 7 SP1 64-bit, but the same command on
> Windows 8.1 fails with the same error.
>
> I'm using --no-admin, and have write access to the root and local folders.
>
> This seems to be a Windows 8.1 (maybe 8 as well) issue.
>
> I would be happy to provide any further information about this, but
> currently the command line method is useless on Windows 8.1 unless you have
> admin privileges.
>
> Thanks,
>   Kyle
>

I was able to reproduce this as well on a lab machine at work that we
have Windows 8.1 x64 Update 1 loaded on.  It seems to throw the error
as soon as it goes to switch to installing the files and as suggested
only happens with --no-admin set.  There are no files unpacked as a
result.  There is no BLODA on my test machine as it is a clean install
save for updates in itself.  I'm going to test again on a VM later on
when I get a few minutes to run the install though and verify.  The
setup.log provided no appreciable information beyond what was provided
by the OP however if there is a way to up the verbosity I am more than
willing to re-run the install.


Robert Pendell
A perfect world is one of chaos.

--
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: Mount / Access is Denied
  2014-04-20 16:26   ` Robert Pendell
@ 2014-04-20 18:30     ` Kyle
  2014-04-22 11:51     ` Corinna Vinschen
  1 sibling, 0 replies; 7+ messages in thread
From: Kyle @ 2014-04-20 18:30 UTC (permalink / raw)
  To: cygwin

On 4/20/2014 12:25 PM, Robert Pendell wrote:
> On Sat, Apr 19, 2014 at 10:21 PM, Zeranoe wrote:
>> On 3/8/2014 12:50 AM, Cicero Silva Luiz Junior wrote:
>>> My OS is Windows 8.1 x64. UAC is on, behavior set as Prompt for
>>> Credentials on Secure Desktop. Only elavate executables that are
>>> signed and only elevate apps in secure locations settings are both on.
>>> Any help is greatly appreciated.
>>
>> I just ran into this issue too.
>>
>> Everything worked fine on Windows 7 SP1 64-bit, but the same command on
>> Windows 8.1 fails with the same error.
>>
>> I'm using --no-admin, and have write access to the root and local folders.
>>
>> This seems to be a Windows 8.1 (maybe 8 as well) issue.
>>
>> I would be happy to provide any further information about this, but
>> currently the command line method is useless on Windows 8.1 unless you have
>> admin privileges.
> I was able to reproduce this as well on a lab machine at work that we
> have Windows 8.1 x64 Update 1 loaded on.  It seems to throw the error
> as soon as it goes to switch to installing the files and as suggested
> only happens with --no-admin set.  There are no files unpacked as a
> result.  There is no BLODA on my test machine as it is a clean install
> save for updates in itself.  I'm going to test again on a VM later on
> when I get a few minutes to run the install though and verify.  The
> setup.log provided no appreciable information beyond what was provided
> by the OP however if there is a way to up the verbosity I am more than
> willing to re-run the install.

This issue seems to only happen when the user account is set to 
Administrator.

After testing with the account set to a "Standard User" the issue went away.

To reproduce, go to Control Panel>User Accounts>Change your account 
type>Administrator and then restart the machine.

It seems very backward that an Administrator account would have "Access 
Denied", and a standard account would work just fine.

Best regards,
   Kyle

--
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: Mount / Access is Denied
  2014-04-20 16:26   ` Robert Pendell
  2014-04-20 18:30     ` Kyle
@ 2014-04-22 11:51     ` Corinna Vinschen
  1 sibling, 0 replies; 7+ messages in thread
From: Corinna Vinschen @ 2014-04-22 11:51 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 2401 bytes --]

On Apr 20 12:25, Robert Pendell wrote:
> On Sat, Apr 19, 2014 at 10:21 PM, Zeranoe wrote:
> > On 3/8/2014 12:50 AM, Cicero Silva Luiz Junior wrote:
> >>
> >> My OS is Windows 8.1 x64. UAC is on, behavior set as Prompt for
> >> Credentials on Secure Desktop. Only elavate executables that are
> >> signed and only elevate apps in secure locations settings are both on.
> >> Any help is greatly appreciated.
> >
> >
> > I just ran into this issue too.
> >
> > Everything worked fine on Windows 7 SP1 64-bit, but the same command on
> > Windows 8.1 fails with the same error.
> >
> > I'm using --no-admin, and have write access to the root and local folders.
> >
> > This seems to be a Windows 8.1 (maybe 8 as well) issue.
> >
> > I would be happy to provide any further information about this, but
> > currently the command line method is useless on Windows 8.1 unless you have
> > admin privileges.
> >
> > Thanks,
> >   Kyle
> >
> 
> I was able to reproduce this as well on a lab machine at work that we
> have Windows 8.1 x64 Update 1 loaded on.  It seems to throw the error
> as soon as it goes to switch to installing the files and as suggested
> only happens with --no-admin set.  There are no files unpacked as a
> result.  There is no BLODA on my test machine as it is a clean install
> save for updates in itself.  I'm going to test again on a VM later on
> when I get a few minutes to run the install though and verify.  The
> setup.log provided no appreciable information beyond what was provided
> by the OP however if there is a way to up the verbosity I am more than
> willing to re-run the install.

It's definitely a bug in setup.  Or rather, two bugs.  What happens is
that a registry key cannot be created in HKLM.  The fact that setup
tries to create the key in HKLM even if the current user has no admin
rights is the first bug.  The second one is that the inability to create
the registry key results in fatal error handling, exiting the application.

Maybe some default permission handling changed in later Windows versions
which trigger the problem but still, it's a bug in setup in the first
place.

I applied a patch to setup.  A new version will be available soon.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-04-22 11:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-08 13:05 Mount / Access is Denied Cicero Silva Luiz Junior
2014-03-09 18:08 ` Andrey Repin
2014-03-09 22:13 ` PolarStorm
2014-04-20  2:21 ` Zeranoe
2014-04-20 16:26   ` Robert Pendell
2014-04-20 18:30     ` Kyle
2014-04-22 11:51     ` Corinna Vinschen

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