I've just upgraded to the latest version of Cygwin (1.5.25-15) and found
that the execute bit is not getting set when I create files:

$ umask 'u=rwx,g=r,o=r'
$ touch a
$ ls -l a
-rw-r--r-- 1 John None 0 Oct 28 21:42 a

(the execute permission also doesn't get set when I use the default umask
0022).

The resulting problem is that any files I create cannot be accessed when I
log in using my wife's login account.
Such files used to be accessible from my wife's account when I used an
earlier version of Cygwin (probably from around 1-2 years ago). 

Any ideas how to fix this?  I've attached the output of `cygcheck -s -v' in
case that helps.

Thanks,

John.

Cygwin Configuration Diagnostics
Current System Time: Tue Oct 28 21:49:42 2008

Windows XP Professional Ver 5.1 Build 2600 Service Pack 3

Path:   .
        c:\aperl\bin
        c:\perforce\tools\VisualStudio8\RTM\VC\bin
        c:\Program Files\Locate
        c:\cygwin\bin
        c:\bin
        c:\cdev
        c:\emacs\bin
        c:\perforce\tools\ant-1.6\bin
        c:\j2sdk1.4.2_15\bin
        c:\WINDOWS\system32
        c:\WINDOWS
        c:\Program Files\Perforce
        c:\perforce\tools\VisualStudio8\RTM\SDK\v2.0\Bin
        c:\perforce\tools\VisualStudio8\RTM\Common7\IDE
        c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
        c:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1003(John)     GID: 513(None)
0(root)             513(None)           544(Administrators) 545(Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1003(John)     GID: 513(None)
0(root)             513(None)           544(Administrators) 545(Users)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

HOME = '/c'
PWD = '/c'
MAKE_MODE = 'unix'

ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
APPDATA = 'C:\Documents and Settings\John\Application Data'
CLASSPATH = 
'c:/j2sdk1.4.2_15/jre/lib/rt.jar;c:/j2sdk1.4.2_15/jre/lib/jsse.jar;c:/perforce/javabld/intermediate/classes;c:/perforce/javabld/intermediate/obfuscated;c:/perforce/javabld/bundled/lang;c:/perforce/javabld/tools/jars/CGP.jar;c:/perforce/wi_boxworth/src/java/public/servlet-2_3.jar;.'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
COMPUTERNAME = 'RA'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
FP_NO_HOST_CHECK = 'NO'
HOMEDRIVE = 'C:'
HOMEPATH = '\Documents and Settings\John'
LOGONSERVER = '\\RA'
NUMBER_OF_PROCESSORS = '1'
OS = 'Windows_NT'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = 'x86'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 2 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL = '15'
PROCESSOR_REVISION = '0209'
PROGRAMFILES = 'C:\Program Files'
QTJAVA = 'C:\Program Files\Java\jre6\lib\ext\QTJava.zip'
SESSIONNAME = 'Console'
SYSTEMDRIVE = 'C:'
SYSTEMROOT = 'C:\WINDOWS'
TEMP = '/c/DOCUME~1/John/LOCALS~1/Temp'
TMP = '/c/DOCUME~1/John/LOCALS~1/Temp'
USERDOMAIN = 'RA'
USERPROFILE = 'C:\Documents and Settings\John'
WINDIR = 'C:\WINDOWS'
TERM = 'cygwin'
COLORFGBG = 'default;default;0'
DISPLAY = ':0'
WINDOWID = '6895840'
COLORTERM = 'rxvt-xpm'
LOGNAME = 'John'
SHLVL = '1'
OLDPWD = '/c'
LESS = '-iPFile\: ?f%f:Standard input.   Line\: ?lt%lt?L/%L.  ?e(END):--More-- 
?pt(%pt\%)'
PAGER = 'less -r'
LS_COLORS = 
'no=00:fi=37:di=31:ln=target:*.cmd=32:*.exe=32:*.dll=32:*.com=32:*.bat=32:*.BAT=32:*.cmd=32:*.java=33:*.cs=33:*.c=33:*.cpp=33:*.vbs=33:*.sh=33:*.el=33:*.ahk=33:*.pl=33:*.jsp=33:*.class=33:*.txt=36:*.doc=36:*.xls=36:*.pdf=36:*.ppt=36:*.htm=36:*.html=36:*.cab=35:*.tar=35:*.tgz=35:*.zip=35:*.z=35:*.Z=35:*.gz=35:*.bz2=35:*.jar=35:*.xml=35:*.sln=35:*.suo=35:*.vssscc=35:*.user=35:*.vspscc=35:*.scc=35:*.jpg=33:*.jpeg=33:*.gif=33:*.bmp=33:*.tif=33:*.png=33:*.mov=33:*.mpg=33:*.avi=33:'
P4USER = 'johnc'
HISTFILE = '/c/.history_win'
EDITOR = 'gnuclient'
P4EDITOR = 'gnuclient'
P4DIFF = 'c:\Progra~1\Perforce\p4merge.exe'
P4CONFIG = 'p4.conf'
USERNAME = 'John'
MFTOOLS = 'c:\perforce\tools'
DEVENVDIR = 'C:\Program Files\Microsoft Visual Studio 8\Common7\IDE'
TOMCAT_HOME = 'c:/jakarta-tomcat-5.0.28'
WISE_PATH = 'C:\Program Files\Wise for Windows Installer'
CONFIGMGRHOST = 'BEANSTALK'
MFSERVER = 'BEANSTALK'
MFROOT = 'c:\perforce\wi_eversden'
WICOMMONROOT = 'c:\perforce\wi_eversden\external\WICommon'
CONFIG_SHELL = 'c:/bin/sh.exe'
JAVA_HOME = 'c:/j2sdk1.4.2_15'
JSWAT_HOME = 'c:/jswat-3.11'
EXTROOT = 'c:\perforce\asc_eversden\WebInterface'
SDKSNAPINSDKROOT = 'c:\perforce\asc_eversden\cmisdk'
SNAPINSDKROOT = 'c:\perforce\asc_eversden\cmisdk'
SNAPINSDKCONFIG = 'c:\perforce\asc_eversden\WebInterface\buildconf\conf.mak'
SNAPINSDKROOTRELATIVE = '..\cmisdk'
INCLUDE = 'C:\Program Files\Microsoft Visual Studio 
8\VC\ATLMFC\INCLUDE;C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE;C:\Program Files\Microsoft Visual Studio 
8\VC\PlatformSDK\include;C:\Program Files\Microsoft Visual Studio 
8\SDK\v2.0\include'
LIB = 'C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\LIB;C:\Program 
Files\Microsoft Visual Studio 8\VC\LIB;C:\Program Files\Microsoft Visual Studio 
8\VC\PlatformSDK\lib;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\lib'
LIBPATH = 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program 
Files\Microsoft Visual Studio 8\VC\ATLMFC\LIB'
_ = '/c/cygwin/bin/cygcheck'

Use '-r' to scan registry

a:  fd             N/A    N/A                    
c:  hd  NTFS    105002Mb  14% CP CS UN PA FC     
d:  hd  NTFS      9773Mb   1% CP CS UN PA FC     Old disk
e:  hd  NTFS      9460Mb   1% CP CS UN PA FC     Backup
f:  cd             N/A    N/A                    
h:  fd             N/A    N/A                    

C:\cygwin      /         system  binmode
C:\cygwin/bin  /usr/bin  system  binmode
C:\cygwin/lib  /usr/lib  system  binmode
.              /         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
Not Found: ld
Found: c:\cygwin\bin\ls.exe
Found: c:\bin\ls.exe
Warning: c:\cygwin\bin\ls.exe hides c:\bin\ls.exe
Found: \bin\ls.exe
Warning: c:\cygwin\bin\ls.exe hides \bin\ls.exe
Not Found: make
Found: c:\cygwin\bin\mv.exe
Not Found: patch
Not Found: perl
Found: c:\cygwin\bin\rm.exe
Found: c:\cygwin\bin\sed.exe
Not Found: ssh
Found: c:\cygwin\bin\sh.exe
Found: c:\cygwin\bin\tar.exe
Found: c:\cygwin\bin\test.exe
Not Found: vi
Not Found: vim

   61k 2008/04/01 c:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2008/4/1 4:37
    7k 2003/10/19 c:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypt-0.dll" v0.0 ts=2003/10/19 8:57
  943k 2007/12/17 c:\cygwin\bin\cygdb-4.5.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-4.5.dll" v0.0 ts=2007/12/17 13:12
 1296k 2007/12/17 c:\cygwin\bin\cygdb_cxx-4.5.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb_cxx-4.5.dll" v0.0 ts=2007/12/17 13:12
  118k 2008/05/09 c:\cygwin\bin\cygexpat-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygexpat-1.dll" v0.0 ts=2008/5/9 5:03
   40k 2006/11/15 c:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-8.dll" v0.0 ts=2006/11/15 7:06
   19k 2006/11/19 c:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2006/11/19 8:18
    8k 2006/11/19 c:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2006/11/19 8:18
   25k 2008/01/04 c:\cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory6.dll" v0.0 ts=2008/1/4 3:31
  271k 2007/08/24 c:\cygwin\bin\cygicons-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygicons-0.dll" v0.0 ts=2007/8/24 8:24
  976k 2006/10/22 c:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2006/10/23 0:44
   37k 2003/08/10 c:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2003/8/10 22:50
   31k 2005/11/20 c:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-3.dll" v0.0 ts=2005/11/20 2:04
   31k 2006/10/23 c:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-8.dll" v0.0 ts=2006/10/23 1:12
   21k 2006/11/15 c:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-8.dll" v0.0 ts=2006/11/15 7:05
   67k 2006/11/15 c:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-8.dll" v0.0 ts=2006/11/15 7:13
  237k 2006/11/15 c:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-8.dll" v0.0 ts=2006/11/15 7:02
   12k 2006/11/15 c:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-8.dll" v0.0 ts=2006/11/15 7:04
  181k 2008/09/07 c:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2008/9/7 4:36
  302k 2008/09/07 c:\cygwin\bin\cygpcrecpp-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcrecpp-0.dll" v0.0 ts=2008/9/7 4:36
    7k 2008/09/07 c:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2008/9/7 4:36
   22k 2002/06/09 c:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9 6:45
  155k 2008/01/04 c:\cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline6.dll" v0.0 ts=2008/1/4 3:31
 1829k 2008/06/12 c:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2008/6/12 18:35
    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


Can't find the cygrunsrv utility, skipping services check.


Cygwin Package Information
Last downloaded files to: C:\cygwin_pkgs
Last downloaded files from: ftp://ftp.easynet.be/cygwin/

Package              Version
_update-info-dir     00772-1
alternatives         1.3.30c-2
ash                  20040127-4
base-files           3.7-1
base-passwd          2.2-1
bash                 3.2.39-20
bzip2                1.0.5-2
coreutils            6.10-1
crypt                1.1-1
cygutils             1.3.2-1
cygwin               1.5.25-15
cygwin-doc           1.4-4
diffutils            2.8.7-1
editrights           1.01-2
expat                2.0.1-1
findutils            4.4.0-3
gawk                 3.1.6-1
grep                 2.5.3-1
groff                1.19.2-2
gzip                 1.3.12-2
less                 382-1
libbz2_1             1.0.5-2
libdb4.5             4.5.20.2-2
libexpat1            2.0.1-1
libexpat1-devel      2.0.1-1
libgdbm4             1.8.3-8
libiconv2            1.11-1
libintl2             0.12.1-3
libintl3             0.14.5-1
libintl8             0.15-1
libncurses8          5.5-3
libpcre0             7.8-1
libpopt0             1.6.4-4
libreadline6         5.2.12-10
login                1.9-8
man                  1.6e-1
rebase               2.4.4-1
run                  1.1.10-1
rxvt                 20050409-7
sed                  4.1.5-2
tar                  1.20-1
termcap              20050421-1
terminfo             5.5_20061104-1
texinfo              4.8a-1
tzcode               2008a-1
which                2.19-1
zsh                  4.3.4-1
Use -h to see help about each section

--
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/

Reply via email to