From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 870 invoked by alias); 25 Jan 2013 15:05:24 -0000 Received: (qmail 863 invoked by uid 22791); 25 Jan 2013 15:05:23 -0000 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 Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 25 Jan 2013 15:04:51 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tykq0-0000fX-BL for cygwin@cygwin.com; Fri, 25 Jan 2013 16:05:04 +0100 Received: from dhcp33-081-214.bbn.com ([128.33.81.214]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Jan 2013 16:05:04 +0100 Received: from alan.curtis3 by dhcp33-081-214.bbn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Jan 2013 16:05:04 +0100 To: cygwin@cygwin.com From: Alan Subject: Problems with permissions after installing cygwin without admin privileges Date: Fri, 25 Jan 2013 15:05:00 -0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2013-01/txt/msg00364.txt.bz2 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