delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/22/20:09:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20011223010825.45944.qmail@web9607.mail.yahoo.com>
Date: Sat, 22 Dec 2001 17:08:25 -0800 (PST)
From: "Aaron J. Outhier" <garlicsalt2 AT yahoo DOT com>
Subject: Re: Reincarnation of "Permission denied running programs in other directories"
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

  Well, I made another big step in figuring this one out:
First, I discovered that "/usr/i686-pc-cygwin/as.exe" is
only 26 bytes in size, and "/usr/bin/zipinfo.exe" is only
20 bytes in size. I thought that was odd, so I reinstalled
the "unzip" package stored my hard drive, and then ran
"zipinfo". It worked just fine! When I typed "ls -l
zipinfo", I noticed "zipinfo.exe" was now marked as a
symlink pointing to "/usr/bin/unzip.exe", which, as I now
recall, is the way it's supposed to be, right?

  At this point, I did a "cat
/usr/i686-pc-cygwin/bin/as.exe". Look at what I found:

!<symlink>/usr/bin/as.exe\0

  I'm going to take a wild guess here and say this file is
also supposed to be a symlink, but isn't seen that way by
the system. If I knew which package this particular file
was located (Hint-hint, maybe a little help here someone?),
I could re-install that package. Now, if someone could
figure out why this symlink isn't being seen as a symlink
by my system, we might make some more progress. I'm afraid
I just don't know enough about unix file-system mechanics
or how there implemented via Cygwin to do much about that
last part. 

  I don't know if this is relevant, but a few minutes ago,
I ran my Symantec/Norton System Check program. It came back
telling me that there was some kind of problem with
c:\cygwin\...\X11\X.lnk. When I looked at the file's
properties in the Windows File Properties Dialog Box, it
was blank for both the "working directory" field and the
"program" field. I thought I'd better leave it alone.

  I know I read somewhere that Cygwin can somehow use
and/or modify standard ".lnk" files for it's own use using
some kind of "trick" that lets both Windows and Cygwin use
the link. I didn't understand it at the time. I don't
understand it now. I don't know if this has something to do
with the problem.

  I hope that someone can help me with this problem, and
I'll try to keep this list posted (no pun intended) with
any breakthroughs on my part.

TTFN!


=====
Sincerely,
  Aaron J. Outhier
  garlicsalt2 AT yahoo DOT com

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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