delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <48A86608.5010507@kleckner.net> |
Date: | Sun, 17 Aug 2008 10:55:20 -0700 |
From: | Jim Kleckner <jek-cygwin2 AT kleckner DOT net> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Thunderbird 2.0.0.16 (Windows/20080708) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | File permissions not rx for group in /bin |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
--------------050707040300030905070207 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I've read through the various permission documents to find the explanation and tried Google without figuring this one out. Hopefully it is very simple. I have an old cygwin install that I was upgrading to the latest 1.5. I find that the files in /bin are mode 700 rather than 750 on my other installations. The setup.exe is set to "All Users" although perhaps some time in the dark past it might not have been. This means that users other than the one installing cygwin can't use it. Is there some magic to make that work properly? e.g. On the "bad" install you see permissions like this: -rwx------+ 1 jim Users 471040 May 3 06:26 /bin/bash.exe and on the "good" install you see permissions like this: -rwxr-x---+ 1 jim Users 471040 May 3 06:26 /bin/bash.exe My umask is 0022 on both. cygcheck output is attached. Thanks - Jim --------------050707040300030905070207 Content-Type: text/plain; name="k2.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="k2.txt" Cygwin Configuration Diagnostics Current System Time: Sun Aug 17 10:41:42 2008 Windows XP Professional Ver 5.1 Build 2600 Service Pack 2 Path: c:\Jim\bin c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\Program Files\QuickTime\QTSystem\ c:\Program Files\vim\vim63 C:\cygwin\bin Output from C:\cygwin\bin\id.exe (nontsec) UID: 1005(jim) GID: 513(None) 513(None) 544(Administrators) 545(Users) Output from C:\cygwin\bin\id.exe (ntsec) UID: 1005(jim) GID: 513(None) 513(None) 544(Administrators) 545(Users) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS PWD = '//mask2/jim/tmp' HOME = '/cygdrive/c/Jim' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 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 (default) = '/cygdrive' cygdrive flags = 0x00000022 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\mounts v2\/usr/X11R6/lib/X11/fonts (default) = 'C:\cygwin\usr\X11R6\lib\X11\fonts' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options c: hd NTFS 57215Mb 50% CP CS UN PA FC e: cd N/A N/A C:\cygwin / system binmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib system binmode C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode . /cygdrive system binmode,cygdrive Found: C:\cygwin\bin\awk.exe Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cp.exe Not Found: cpp (good!) Not Found: crontab Found: C:\cygwin\bin\find.exe Not Found: gcc Not Found: gdb Found: C:\cygwin\bin\grep.exe Found: C:\cygwin\bin\kill.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Not Found: make Found: C:\cygwin\bin\mv.exe Not Found: patch Found: C:\cygwin\bin\perl.exe Found: C:\cygwin\bin\rm.exe Found: C:\cygwin\bin\sed.exe Found: C:\cygwin\bin\ssh.exe Found: C:\cygwin\bin\sh.exe Found: C:\cygwin\bin\tar.exe Found: C:\cygwin\bin\test.exe Not Found: vi Found: c:\Program Files\vim\vim63\vim.exe Found: C:\cygwin\bin\vim.exe 103k 2007/09/16 C:\cygwin\bin\cygapr-1-0.dll 70k 2007/09/16 C:\cygwin\bin\cygaprutil-1-0.dll 61k 2008/04/01 C:\cygwin\bin\cygbz2-1.dll 7k 2006/10/22 C:\cygwin\bin\cygcharset-1.dll 560k 2008/06/21 C:\cygwin\bin\cygclamav-4.dll 42k 2008/06/21 C:\cygwin\bin\cygclamunrar-4.dll 8k 2008/06/21 C:\cygwin\bin\cygclamunrar_iface-4.dll 7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll 846k 2004/12/11 C:\cygwin\bin\cygcrypto-0.9.7.dll 1057k 2008/06/09 C:\cygwin\bin\cygcrypto-0.9.8.dll 194k 2007/06/30 C:\cygwin\bin\cygcurl-3.dll 221k 2007/06/30 C:\cygwin\bin\cygcurl-4.dll 22k 2004/02/10 C:\cygwin\bin\cygcygipc-2.dll 703k 2007/12/17 C:\cygwin\bin\cygdb-4.2.dll 943k 2007/12/17 C:\cygwin\bin\cygdb-4.5.dll 1036k 2007/12/17 C:\cygwin\bin\cygdb_cxx-4.2.dll 1296k 2007/12/17 C:\cygwin\bin\cygdb_cxx-4.5.dll 118k 2007/04/06 C:\cygwin\bin\cygexpat-0.dll 118k 2008/05/09 C:\cygwin\bin\cygexpat-1.dll 161k 2007/03/28 C:\cygwin\bin\cygfontconfig-1.dll 40k 2006/11/15 C:\cygwin\bin\cygform-8.dll 45k 2001/04/25 C:\cygwin\bin\cygform5.dll 35k 2002/01/09 C:\cygwin\bin\cygform6.dll 48k 2003/08/09 C:\cygwin\bin\cygform7.dll 462k 2007/05/31 C:\cygwin\bin\cygfreetype-6.dll 28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll 19k 2006/11/19 C:\cygwin\bin\cyggdbm-4.dll 19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll 15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-3.dll 8k 2006/11/19 C:\cygwin\bin\cyggdbm_compat-4.dll 94k 2006/10/23 C:\cygwin\bin\cyggettextlib-0-15.dll 14k 2006/10/23 C:\cygwin\bin\cyggettextpo-0.dll 182k 2006/10/23 C:\cygwin\bin\cyggettextsrc-0-15.dll 219k 2008/03/24 C:\cygwin\bin\cyggmp-3.dll 288k 2008/03/24 C:\cygwin\bin\cyggmpxx-3.dll 17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll 29k 2003/08/10 C:\cygwin\bin\cyghistory5.dll 25k 2008/01/04 C:\cygwin\bin\cyghistory6.dll 271k 2007/08/24 C:\cygwin\bin\cygicons-0.dll 976k 2006/10/22 C:\cygwin\bin\cygiconv-2.dll 22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll 37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll 31k 2005/11/20 C:\cygwin\bin\cygintl-3.dll 31k 2006/10/23 C:\cygwin\bin\cygintl-8.dll 124k 2006/11/09 C:\cygwin\bin\cygjpeg-62.dll 119k 2002/02/09 C:\cygwin\bin\cygjpeg6b.dll 83k 2007/06/06 C:\cygwin\bin\cygmagic-1.dll 21k 2006/11/15 C:\cygwin\bin\cygmenu-8.dll 26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll 20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll 29k 2003/08/09 C:\cygwin\bin\cygmenu7.dll 20k 2006/12/21 C:\cygwin\bin\cygminires.dll 121k 2008/03/24 C:\cygwin\bin\cygmp-3.dll 67k 2006/11/15 C:\cygwin\bin\cygncurses++-8.dll 156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll 175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll 237k 2006/11/15 C:\cygwin\bin\cygncurses-8.dll 226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll 202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll 224k 2003/08/09 C:\cygwin\bin\cygncurses7.dll 104k 2008/05/14 C:\cygwin\bin\cygneon-27.dll 12k 2006/11/15 C:\cygwin\bin\cygpanel-8.dll 15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll 12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll 19k 2003/08/09 C:\cygwin\bin\cygpanel7.dll 150k 2008/04/25 C:\cygwin\bin\cygpcre-0.dll 303k 2008/04/25 C:\cygwin\bin\cygpcrecpp-0.dll 7k 2008/04/25 C:\cygwin\bin\cygpcreposix-0.dll 1224k 2007/07/19 C:\cygwin\bin\cygperl5_8.dll 226k 2006/11/05 C:\cygwin\bin\cygpng12.dll 22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll 108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll 148k 2003/08/10 C:\cygwin\bin\cygreadline5.dll 155k 2008/01/04 C:\cygwin\bin\cygreadline6.dll 118k 2007/06/27 C:\cygwin\bin\cygssh2-1.dll 219k 2008/06/09 C:\cygwin\bin\cygssl-0.9.8.dll 138k 2008/06/06 C:\cygwin\bin\cygsvn_client-1-0.dll 32k 2008/06/06 C:\cygwin\bin\cygsvn_delta-1-0.dll 26k 2008/06/06 C:\cygwin\bin\cygsvn_diff-1-0.dll 14k 2008/06/06 C:\cygwin\bin\cygsvn_fs-1-0.dll 127k 2008/06/06 C:\cygwin\bin\cygsvn_fs_base-1-0.dll 87k 2008/06/06 C:\cygwin\bin\cygsvn_fs_fs-1-0.dll 11k 2008/06/06 C:\cygwin\bin\cygsvn_ra-1-0.dll 92k 2008/06/06 C:\cygwin\bin\cygsvn_ra_dav-1-0.dll 19k 2008/06/06 C:\cygwin\bin\cygsvn_ra_local-1-0.dll 61k 2008/06/06 C:\cygwin\bin\cygsvn_ra_svn-1-0.dll 109k 2008/06/06 C:\cygwin\bin\cygsvn_repos-1-0.dll 159k 2008/06/06 C:\cygwin\bin\cygsvn_subr-1-0.dll 174k 2008/06/06 C:\cygwin\bin\cygsvn_wc-1-0.dll 22k 2008/02/24 C:\cygwin\bin\cygwrap-0.dll 65k 2006/10/16 C:\cygwin\bin\cygz.dll 1829k 2008/06/12 C:\cygwin\bin\cygwin1.dll Cygwin DLL version info: DLL version: 1.5.25 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 156 Shared data: 4 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: Thu Jun 12 19:34:46 CEST 2008 CVS tag: cr-0x5f1 Shared id: cygwin1S4 Service : sshd Display name : CYGWIN sshd Current State : Stopped Command : /usr/sbin/sshd -D Cygwin Package Information Package Version _update-info-dir 00741-1 alternatives 1.3.30c-2 ash 20040127-3 base-files 3.7-1 base-passwd 2.2-1 bash 3.2.39-19 bc 1.06-2 binutils 20080523-1 bzip2 1.0.5-2 chere 1.0-1 clamav 0.93.1-1 clamav-db 0.93.1-1 clear 1.0-2 coreutils 6.10-1 crypt 1.1-1 csih 0.1.4-1 curl 7.16.3-1 cvs 1.11.22-1 cygipc 2.03-2 cygrunsrv 1.34-1 cygutils 1.3.2-1 cygwin 1.5.25-15 cygwin-doc 1.4-4 diffutils 2.8.7-1 e2fsprogs 1.35-3 editrights 1.01-2 enscript 1.6.4-2 expat 2.0.1-1 expect 20030128-1 file 4.21-1 fileutils 4.1-3 findutils 4.4.0-1 fontconfig 2.4.1-5 gawk 3.1.6-1 gdbm 1.8.3-8 ghostscript 8.62-2 ghostscript-base 8.62-2 ghostscript-fonts-other 6.0-1 ghostscript-fonts-std 8.11-1 grep 2.5.1a-4 groff 1.18.1-2 gzip 1.3.12-2 inetutils 1.5-4 jim-user 0.0.1-2 jim-user-min 0.0.1-2 jpeg 6b-12 keychain 2.6.8-1 less 382-1 libapr1 1.2.11-1 libaprutil1 1.2.10-1 libbz2_1 1.0.5-2 libcharset1 1.11-1 libclamav4 0.93.1-1 libcurl3 7.15.4-2 libcurl4 7.16.3-1 libdb4.2 4.2.52.5-2 libdb4.5 4.5.20.2-2 libexpat0 1.95.8-2 libexpat1 2.0.1-1 libexpat1-devel 2.0.1-1 libfontconfig1 2.4.1-5 libfreetype26 2.3.4-2 libgdbm 1.8.0-5 libgdbm-devel 1.8.3-8 libgdbm3 1.8.3-3 libgdbm4 1.8.3-8 libgettextpo0 0.15-1 libgmp3 4.2.2-1 libiconv 1.11-1 libiconv2 1.11-1 libintl1 0.10.40-1 libintl2 0.12.1-3 libintl3 0.14.5-1 libintl8 0.15-1 libjpeg-devel 6b-12 libjpeg62 6b-12 libjpeg6b 6b-8 libncurses-devel 5.5-3 libncurses5 5.2-1 libncurses6 5.2-8 libncurses7 5.3-4 libncurses8 5.5-3 libneon27 0.28.2-1 libpcre 4.1-2 libpcre0 7.6-2 libpng12 1.2.12-1 libpng12-devel 1.2.12-1 libpopt0 1.6.4-4 libreadline4 4.1-2 libreadline5 4.3-5 libreadline6 5.2.12-10 libssh2_1 0.15-1 libwrap0 7.6-4 login 1.9-7 man 1.6e-1 minires 1.01-1 mktemp 1.5-4 ncurses 5.5-3 netcat 1.10-2 openssh 5.0p1-1 openssl 0.9.8h-1 perl 5.8.8-4 procps 3.2.7-1 readline 5.2.12-10 rebase 2.4.4-1 rsync 2.6.9-2 run 1.1.10-1 rxvt 20050409-7 sed 4.1.5-2 sh-utils 2.0.15-5 shutdown 1.7-1 smartmontools 5.38-1 subversion 1.4.6-1 tar 1.20-1 tcltk 20080420-1 termcap 20050421-1 terminfo 5.5_20061104-1 texinfo 4.8a-1 textutils 2.0.21-2 time 1.7-1 tzcode 2008a-1 unison 2.10.2-4 unzip 5.52-2 util-linux 2.13.1-2 vim 7.1-1 which 2.19-1 zip 2.32-2 zlib 1.2.3-2 Use -h to see help about each section --------------050707040300030905070207 Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ --------------050707040300030905070207--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |