This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: 1.7 installation failed (on network drive?)
On Dec 17 14:09, Corinna Vinschen wrote:
> Has the H:\cygwin17 directory been created at all? If so, we should
> examine the cacls for this dir just like the cacls for H:\ itself.
>
> Hmm.
>
> [...time passes...]
>
> Hang on, there's another possible reason for STATUS_ACCESS_DENIED.
> Mkdir_p calls NtCreateFile to create the directory with
> STANDARD_RIGHTS_ALL rights. This includes WRITE_DAC and WRITE_OWNER
> rights. Especially the last one could be a problem for a non-admin
> user.
>
> Could you please try to replace STANDARD_RIGHTS_ALL with
>
> SYNCHRONIZE | WRITE_DAC | READ_CONTROL
>
> If that works, we're done. If that doesn't work, try
>
> SYNCHRONIZE | READ_CONTROL
>
> If that works, you will see failure log output from SetPosixPerms().
>
> Either way, this might be the entire problem here. If the first
> expression works, we should be able to use it as is. If only the
> second expression works, we have to do some admin/non-admin conditional.
Good news. I can finally reproduce the problem. Digging deeper now...
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat