public inbox for cygwin-xfree@sourceware.org help / color / mirror / Atom feed
From: Angelo Graziosi <angelo.graziosi@alice.it> To: XCygwin <cygwin-xfree@cygwin.com> Subject: Re: Postinstal failure for xinit.sh Date: Mon, 29 Jul 2013 13:17:00 -0000 [thread overview] Message-ID: <51F66B62.9060408@alice.it> (raw) In-Reply-To: <51F4486B.9080104@alice.it> Il 28/07/2013 0.23, Angelo Graziosi ha scritto: > For completenes, I want to flag that on Windows 7 U 64b and Cygwin32 > (but should be the same for Cygwin64) xinit.sh (postinstall) fails as > follows (from setu.log.full): > > [...] > 2013/07/27 23:41:15 running: C:\cygwin\bin\bash.exe --norc --noprofile > "/etc/postinstall/xinit.sh" > /usr/bin/mkdir: cannot create directory > `/cygdrive/c/ProgramData/Microsoft/Windows/Start > Menu/Programs/Cygwin-X': Permission denied > mkshortcut: Saving "C:\ProgramData\Microsoft\Windows\Start > Menu\Programs\Cygwin-X\XWin Server.lnk" failed; does the target > directory exist? > 2013/07/27 23:41:17 abnormal exit: exit code=3 > ... The cause was an UAC issue. I am new to W7 (64) so I am trying to setup it as on XP (32). More precisely, I have chose the local Cygwin repository in $HOME/cygwin_repo, being $HOME the HOME of the administrator (angelo). And, after the first installation (in which I got the UAC request), I have put setup-x86[_64].exe in the local repo. Cygwin32 is installed in C:\cygwin while Cygwin64 is in C:\cygwin64. I use the same repo for both (they are separated in MIRROR/x86[_64]) So, to install/update packages, I do: Start|Run C:\cygwin\home\angelo\cygwin_repo\setup-x86.exe (Cygwin32) C:\cygwin\home\angelo\cygwin_repo\setup-x86_64.exe (Cygwin64) Now, starting setup-x86_64.exe asks me always the UAC confirmation, instead setup-x86.exe don't! It run without administrator permissions. And this causes the failure described in my OP. The workaround has been to move setup-x86.exe in the parent directory, i.e. Start|Run C:\cygwin\home\angelo\setup-x86.exe asks me the UAC confirmation, it really run as administrator. What I don't understand is why moving setup-x86.exe in that way fixes the issue. I have also removed cygwin_repo and recreated but setup-x86.exe needs to stay above cygwin_repo... This regard only setup-x86.exe and not setup-x86_64.exe.. :( > > Ciao, > Angelo. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
prev parent reply other threads:[~2013-07-29 13:17 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-07-27 22:23 Angelo Graziosi 2013-07-29 13:17 ` Angelo Graziosi [this message]
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=51F66B62.9060408@alice.it \ --to=angelo.graziosi@alice.it \ --cc=cygwin-xfree@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: linkBe 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).