This is the mail archive of the cygwin@cygwin.com 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]

Re: Reincarnation of "Permission denied running programs in other directories"


  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@yahoo.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/


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