delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.2 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,KHOP_SPAMHAUS_DROP,KHOP_THREADED,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_RX |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Alan <alan DOT curtis3 AT gmail DOT com> |
Subject: | Problems with permissions after installing cygwin without admin privileges |
Date: | Fri, 25 Jan 2013 15:01:08 +0000 (UTC) |
Lines: | 62 |
Message-ID: | <loom.20130125T155418-554@post.gmane.org> |
References: | <announce DOT 20130123182432 DOT 4b919ee0 AT YAAKOV04> |
Mime-Version: | 1.0 |
User-Agent: | Loom/3.14 (http://gmane.org/) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |