This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problems with permissions after installing cygwin without admin privileges


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]