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]

Reincarnation of "Permission denied running programs in other directories"


Dear Cygwin:
  I have a rather odd problem when I try to run as.exe from
the makefile for zip/unzip (I'm trying to add encryption
support as per the instructions in the link given elseware
on your web site). I keep getting a "permission denied"
error. I also noticed the same error while trying to run
zipinfo from anywhere - even the containing directory!

Also, I dug up the following mailing-list submission (I'm
including the top portion only, to conserve space). You may
wish to x-ref with it.

Re: Permission denied running programs in other directories
From: "Paul G." <pgarceau at qwest dot net> 
To: cygwin at cygwin dot com 
Date: Sun, 16 Dec 2001 15:46:52 -0800 
Subject: Re: Permission denied running programs in other
directories 
Organization: Paul G. 
Reply-to: pgarceau at qwest dot net 

  Unlike Paul, I am running Cygwin natively on Win98-SE.

Here is the output from make:
gcc -c -O2 -Wall -DWIN32 -DASM_CRC  -I. -ozip.o zip.c
gcc: installation problem, cannot exec
`/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/as.exe':
Permission denied
make: *** [zip.o] Error 1

and here is the output from cygcheck -s -v -r:

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Fri Dec 21 17:19:34 2001

Windows 98 SE Ver 4.10 Build 2222 

Path:	C:\cygwin\usr\local\bin
	C:\cygwin\bin
	C:\cygwin\bin
	c:\WINDOWS
	c:\WINDOWS\COMMAND
	c:\PROGRA~1\WIN98RK
	c:\PROGRA~1\DOSARCRS\ZIP
	c:\PROGRA~1\DOSARCRS\GZIP
	c:\PROGRA~1\DOSARCRS\ARJ32
	c:\PROGRA~1\DOSARCRS\ZOO
	c:\PROGRA~1\DOSARCRS\LHA
	c:\PROGRA~1\DOSARCRS\JAR
	c:\PROGRA~1\DOSARCRS\ARC
	.

SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS

HOME = `C:\cygwin\home\Aaron J. Outhier'
MAKE_MODE = `unix'
PWD = `/'
USER = `Aaron J. Outhier'

BLASTER = `A220 I5 D1 H5 P330 T6 E620'
CMDLINE = `bash --login -i'
COMSPEC = `C:\COMMAND.COM'
DIRCMD = `/O:GEN /A'
GZIP = `-9vN'
OLDPWD = `/home/Aaron J. Outhier'
PROMPT = `$p$g $a'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SHLVL = `1'
TEMP = `c:\WINDOWS\TEMP'
TERM = `cygwin'
TMP = `c:\WINDOWS\TEMP'
TZ = `PST+8'
WINBOOTDIR = `C:\WINDOWS'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start
Menu\&Programs\Applications\Cygnus Solutions
  (default) = (unsupported type)
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts
v2
  (default) = `/cyg'
  cygdrive flags = 0x00000022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program
Options
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts
v2
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts
v2\/
  (default) = `C:/cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts
v2\/usr/bin
  (default) = `C:/cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts
v2\/usr/lib
  (default) = `C:/cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\Program
Options

a:  fd           N/A    N/A                    
c:  hd  FAT32   8283Mb  52% CP    UN           MS-WIN98
d:  hd  FAT      511Mb  18% CP    UN       VC  GARLICSALT
e:  fd  FAT        1Mb  14% CP    UN           
f:  cd  CDFS     625Mb 100%       UN           Win98 SE
g:  hd  FAT      504Mb  69% CP    UN           GS HOST

.              /cyg      user    binmode,noumount
C:/cygwin      /         system  binmode
C:/cygwin/bin  /usr/bin  system  binmode
C:/cygwin/lib  /usr/lib  system  binmode

Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: c:\WINDOWS\COMMAND\find.exe
Warning: C:\cygwin\bin\find.exe hides
c:\WINDOWS\COMMAND\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\sh.exe

   40k 2001/11/21 C:\cygwin\bin\cygpcre.dll - os=4.0
img=1.0 sys=4.0
                  "cygpcre.dll" v0.0 ts=2001/11/21 14:15
  119k 2001/06/06 C:\cygwin\bin\cygjpeg6b.dll - os=4.0
img=1.0 sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2001/6/5 20:27
  108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=4.0
img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/6 20:34
   18k 2000/10/23 C:\cygwin\bin\cyggdbm.dll - os=4.0
img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2000/10/22 18:26
  163k 2001/05/06 C:\cygwin\bin\cygpng2.dll - os=4.0
img=1.0 sys=4.0
                  "cygpng2.dll" v0.0 ts=2001/5/5 20:05
   10k 2000/12/05 C:\cygwin\bin\cygtclreg80.dll - os=4.0
img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2000/11/25
17:39
   39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll - os=4.0
img=1.0 sys=4.0
                  "cygpcreposix.dll" v0.0 ts=2001/11/21
14:15
   66k 2001/11/20 C:\cygwin\bin\cygregex.dll - os=4.0
img=1.0 sys=4.0
                  "cygregex.dll" v0.0 ts=2001/11/20 6:44
  231k 2001/11/19 C:\cygwin\bin\cygssl.dll - os=4.0 img=1.0
sys=4.0
                  "cygssl.dll" v0.0 ts=2001/11/19 15:42
  135k 2001/06/28 C:\cygwin\bin\cygreadline5.dll - os=4.0
img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2001/6/27
18:27
    5k 2000/12/05 C:\cygwin\bin\cygtclpip80.dll - os=4.0
img=1.0 sys=4.0
  821k 2001/11/19 C:\cygwin\bin\cygcrypto.dll - os=4.0
img=1.0 sys=4.0
                  "cygcrypto.dll" v0.0 ts=2001/11/19 15:42
   21k 2001/06/28 C:\cygwin\bin\cyghistory5.dll - os=4.0
img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2001/6/27 18:27
  623k 2000/12/05 C:\cygwin\bin\cygtk80.dll - os=4.0
img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=2000/11/25 17:43
   45k 2001/07/04 C:\cygwin\bin\cygjbig1.dll - os=4.0
img=1.0 sys=4.0
                  "cygjbig1.dll" v0.0 ts=2001/7/3 19:25
  390k 2000/12/05 C:\cygwin\bin\cygtcl80.dll - os=4.0
img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=2000/11/25 17:39
   41k 2001/07/04 C:\cygwin\bin\cygXpm-noX4.dll - os=4.0
img=1.0 sys=4.0
                  "cygXpm-noX4.dll" v0.0 ts=2001/7/3 17:21
   49k 2001/02/03 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0
sys=4.0
                  "cygz.dll" v0.0 ts=2001/2/3 12:35
  245k 2001/06/12 C:\cygwin\bin\cygtiff3.dll - os=4.0
img=1.0 sys=4.0
                  "cygtiff3.dll" v0.0 ts=2001/6/12 9:25
   35k 2000/12/05 C:\cygwin\bin\cygitk30.dll - os=4.0
img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=2000/11/25 17:43
   17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=4.0
img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/6 20:34
   81k 2000/12/05 C:\cygwin\bin\cygitcl30.dll - os=4.0
img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=2000/11/25 17:43
   56k 2000/12/03 C:\cygwin\bin\cygbz21.0.dll - os=4.0
img=1.0 sys=4.0
                  "cygbz21.0.dll" v0.0 ts=2000/11/20 15:53
   45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0
img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/24 21:28
   45k 2001/07/04 C:\cygwin\bin\cygXpm-X4.dll - os=4.0
img=1.0 sys=4.0
                  "cygXpm-X4.dll" v0.0 ts=2000/11/19 18:45
  102k 2001/12/14 C:\cygwin\bin\cygcurl-2.dll - os=4.0
img=1.0 sys=4.0
                  "cygcurl-2.dll" v0.0 ts=2001/12/6 10:45
   26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=4.0
img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/24 21:27
   15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=4.0
img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/24 21:27
   34k 2001/09/30 C:\cygwin\bin\cygform6.dll - os=4.0
img=1.0 sys=4.0
                  "cygform6.dll" v0.0 ts=2001/9/29 18:43
   19k 2001/09/30 C:\cygwin\bin\cygmenu6.dll - os=4.0
img=1.0 sys=4.0
                  "cygmenu6.dll" v0.0 ts=2001/9/29 18:43
   12k 2001/09/30 C:\cygwin\bin\cygpanel6.dll - os=4.0
img=1.0 sys=4.0
                  "cygpanel6.dll" v0.0 ts=2001/9/29 18:43
   21k 2001/06/20 C:\cygwin\bin\cygintl.dll - os=4.0
img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2001/6/20 9:09
   22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=4.0
img=1.0 sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13 1:28
  156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=4.0
img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/4/24
21:29
  226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=4.0
img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/24 21:17
  175k 2001/09/30 C:\cygwin\bin\cygncurses++6.dll - os=4.0
img=1.0 sys=4.0
                  "cygncurses++6.dll" v0.0 ts=2001/9/29
18:45
  201k 2001/09/30 C:\cygwin\bin\cygncurses6.dll - os=4.0
img=1.0 sys=4.0
                  "cygncurses6.dll" v0.0 ts=2001/9/29 18:42
  720k 2001/12/08 C:\cygwin\bin\cygwin1.dll - os=4.0
img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2001/12/8 14:02
    Cygwin DLL version info:
        DLL version: 1.3.6
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 47
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix: 
        Build date: Sat Dec 8 17:02:30 EST 2001
        CVS tag: cygwin-1-3-6-6
        Shared id: cygwin1S3


Cygwin Package Information
Last downloaded files to: C:\Downloads\cygwin
Last downloaded files from:
http://mirrors.rcn.net/pub/sourceware/cygwin

Package             Version             
ash                 20011018-1          
autoconf            2.52a-1             
autoconf-devel      2.52-4              
autoconf-stable     2.13-4              
automake            1.5b-1              
automake-devel      1.5-5               
automake-stable     1.4p5-5             
bash                2.05a-2             
bc                  1.06-1              
binutils            20011002-1          
bzip2               1.0.1-6             
clear               1.0                 
compface            1.4-5               
cpio                2.4.2               
cron                3.0.1-5             
crypt               1.0-1               
ctags               5.0.1-1             
curl                7.9.2-1             
cygrunsrv           0.94-2              
cygutils            0.9.7-1             
cygwin              1.3.6-6             
dejagnu             20010117-1          
diff                0.0                 
expect              20010117-1          
figlet              2.2-1               
file                3.37-1              
fileutils           4.1-1               
findutils           4.1                 
fortune             1.8-1               
gawk                3.0.4-1             
gcc                 2.95.3-5            
gdb                 20010428-3          
gdbm                1.8.0-3             
gettext             0.10.40-1           
ghostscript         6.51-1              
gperf               0.0                 
grep                2.4.2-1             
groff               1.17.2-1            
gzip                1.3.2-1             
indent              2.2.6-2             
inetutils           1.3.2-16            
irc                 20010101-1          
jbigkit             1.2-4               
jpeg                6b-4                
less                358-3               
libintl             0.10.38-3           
libintl1            0.10.40-1           
libncurses5         5.2-1               
libncurses6         5.2-2               
libpng              1.0.11-1            
login               1.4-2               
lynx                2.8.4-1             
m4                  0.0                 
make                3.79.1-5            
man                 1.5g-2              
mingw               20010917-1          
mingw-runtime       1.2-1               
mktemp              1.4-1               
mutt                1.2.5i-6            
nano                1.0.6-1             
ncftp               3.0.2-2             
ncurses             5.2-7               
newlib-man          20001118-1          
opengl              1.1.0-5             
openssh             3.0.2p1-3           
openssl             0.9.6b-2            
patch               2.5-2               
pcre                3.7-1               
perl                5.6.1-2             
popt                1.6.2-1             
postgresql          7.1.3-1             
python              2.1.1-2             
readline            4.2-3               
regex               4.4-2               
rsync               2.4.6-3             
rxvt                2.7.2-6             
sed                 3.02-1              
sh-utils            2.0-2               
sharutils           4.2.1-2             
shutdown            1.2-2               
ssmtp               2.38.7-3            
tar                 1.13.19-1           
tcltk               20001125-1          
tcsh                6.11.00-2           
termcap             20010825-1          
terminfo            5.2-1               
tetex-beta          20001218-1          
texinfo             4.0-5               
textutils           2.0.16-1            
tiff                3.5.6beta-2         
time                1.7-1               
units               1.77-1              
unzip               5.41-1              
unzip-src           5.41-1              
vim                 6.0.93-1            
w32api              1.2-1               
wget                1.7-1               
which               1.5-1               
xpm-nox             4.1.0-1             
zip                 2.3-1               
zip-src             2.3-1               
zlib                1.1.3-6             

I hope this helps in solving the problem!


=====
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]