delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/25/13:35:13

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_RX
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
X-Received: by 10.194.87.200 with SMTP id ba8mr10518001wjb.22.1359138869596; Fri, 25 Jan 2013 10:34:29 -0800 (PST)
In-Reply-To: <loom.20130125T155418-554@post.gmane.org>
References: <announce DOT 20130123182432 DOT 4b919ee0 AT YAAKOV04> <loom DOT 20130125T155418-554 AT post DOT gmane DOT org>
Date: Fri, 25 Jan 2013 10:34:29 -0800
Message-ID: <CAN4-eH+P3go3sSsy8H9KfgOmT3pAWimXXBUu-QAV=HYXNtD71A@mail.gmail.com>
Subject: Re: Problems with permissions after installing cygwin without admin privileges
From: Alan Thompson <thompson2526 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi - I'm not sure if this will help your problem, but in the past I
have had to install Cygwin to a number of non-networked machines.  For
me, the easiest way was to use setup.exe with the option of "save
files but don't install".  You can copy the saved folder and setup.exe
onto a CD and take it to each installation target machine in turn.
This eliminates any hassle with network permissions/visibility/latency
during the install, which can save headaches.

Since you seem to have gotten the first level of Cygwin installed over
the network, this may not be your problem but it might be worth a try.

Alan Thompson

On Fri, Jan 25, 2013 at 7:01 AM, Alan <alan DOT curtis3 AT gmail DOT com> wrote:
> I have downloaded and installed cygwin on one machine and would like to install
> it on a second machine which is non-networked and for which I don't have
> administrator rights. However, I am running into some issues which are described
> below.
>
> I have created a Mapped Network Drive (X:) for the folder I wish to install
> cygwin into, for which I have full access. I have copied the installer and local
> package directory from the first machine to the second. I changed the name of
> the cygwin installer to cygwin.exe and have run it as the non-administrator. I
> have selected the option "install from Local Directory". I have selected
> x:\cygwin as the root install directory and Install for "Just Me". I selected
> the copied local package directory. I selected the basic install with no
> additional packages. cygwin seems to install with no warnings or error, except
> no Desktop icon is created. The cygwin terminal starts with no problem.
>
> The first problem comes when I try to install the rxvt package. Running the
> installer again with that package selected results in an error.
>
> Package: rxvt rxvt.sh exit code 3
>
> Running /etc/postinstall/rxvt.sh from the terminal gives these messages.
>
> Using the default version of /etc/X11/app-defaults/Rxvt
> (/etc/defaults/etc/X11/app-defaults/Rxvt)
> /bin/touch: cannot touch `/etc/X11/app-defaults/Rxvt': No such
> file or directory /bin/cp: cannot create regular file
> `/etc/X11/app-defaults/Rxvt': No such file o r directory
> /usr/bin/mkdir: cannot
> create directory `/cygdrive/c/Documents and Settings/All Users/Start
> Menu/Programs/Cygwin': Permission denied
> mkshortcut: Saving "C:\Documents and
> Settings\All Users\Start Menu\Programs\Cygw in\rxvt-native.lnk" failed; does the
> target directory exist?
> mkshortcut: Saving "C:\Documents and Settings\All
> Users\Start Menu\Programs\Cygw in\rxvt-x.lnk" failed; does the target directory
> exist?
>
> I am guessing the problem is I don't have permission to write to the folder
> "C:\Documents and Settings\All Users\Start Menu\Programs\Cygw in\rxvt- x.lnk"
>
> and will have to make the rxvt links by hand.
>
> That problem seems solvable with some work. But is there a way to solve this
> without hand tweaking?
>
> The second problem I is I'd like to now install texlive. I have re-run the
> installer selecting the package texlive-collection-latex. After several minutes,
> the installer now reports
>
> Package: fontconfig fontconfig.sh exit code 13 Package: texlive-collection-basic
> texlive-collection-basic.sh exit code 11 Package: Unknown package rxvt.sh exit
> code 3
>
> and typing latex in the cygwin terminal returns
>
>  -bash: /usr/bin/latex: cannot execute binary file
>
> I find I cannot change the permissions on /usr/bin/latex with chmod (drive is
> NTFS)
>
> How do I fix this?
>
>
>
> --
> 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
>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019