Mount / Access is Denied

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Mount / Access is Denied

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

Reply | Threaded
Open this post in threaded view
|

Re: Mount / Access is Denied

Andrey Repin
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 ([hidden email]) 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

Reply | Threaded
Open this post in threaded view
|

Re: Mount / Access is Denied

PolarStorm
In reply to this post by Cicero Silva Luiz Junior
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.
Reply | Threaded
Open this post in threaded view
|

Re: Mount / Access is Denied

Zeranoe
In reply to this post by Cicero Silva Luiz Junior
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

Reply | Threaded
Open this post in threaded view
|

Re: Mount / Access is Denied

Robert Pendell-5
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

Reply | Threaded
Open this post in threaded view
|

Re: Mount / Access is Denied

Zeranoe
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

Reply | Threaded
Open this post in threaded view
|

Re: Mount / Access is Denied

Corinna Vinschen-2
In reply to this post by Robert Pendell-5
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

attachment0 (836 bytes) Download Attachment