public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problems with file permissions during a build
@ 2013-06-21  8:21 Arjen Markus
  2013-06-21  8:49 ` Corinna Vinschen
  0 siblings, 1 reply; 15+ messages in thread
From: Arjen Markus @ 2013-06-21  8:21 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 895 bytes --]

Hello,

I have been experiencing problems with building several unrelated
projects on Cygwin/Windows 7. One of them is GCC 4.8.1, another is a
project that uses CMake to create the Makefiles. The problems occur
either during the configuration
(the CMake-based project) or during the make itself (GCC).

What happens is that during the build files are created that have a
file permission
of ---------, which makes them unusable by the next step in the build.

According to the FAQ this could be caused by the translation between
POSIX permissions and the Windows ACE information.

To get around that, I tried to turn off ACL for the disk I am working
on, but that
failed. Obviously I am doing something wrong. But I can not find the information
to solve this issue.

Do you have any suggestions?

I have attached the result of cygcheck, as suggested in the reporting
guidelines.

Regards,

Arjen

[-- Attachment #2: cygcheck.out --]
[-- Type: application/octet-stream, Size: 26316 bytes --]


Cygwin Configuration Diagnostics
Current System Time: Fri Jun 21 08:36:41 2013

Windows 7 Professional N Ver 6.1 Build 7601 Service Pack 1

Running under WOW64 on AMD64

Path:	D:\cygwin\usr\local\bin
	D:\cygwin\bin
	C:\Program Files (x86)\Intel\Composer XE 2011 SP1\redist\intel64\mkl
	C:\Program Files (x86)\Intel\Composer XE 2011 SP1\redist\ia32\mkl
	C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\mpirt
	C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler
	C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32\mpirt
	C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32\compiler
	C:\Windows\system32
	C:\Windows
	C:\Windows\System32\Wbem
	C:\Windows\System32\WindowsPowerShell\v1.0
	C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn
	C:\Program Files\Microsoft SQL Server\100\Tools\Binn
	C:\Program Files\Microsoft SQL Server\100\DTS\Binn
	C:\Program Files\TortoiseSVN\bin
	C:\Program Files\MiKTeX 2.9\miktex\bin\x64
	C:\Program Files (x86)\Subversion\bin
	C:\MinGW64\bin
	C:\Tcl\bin
	C:\Delft3D\w32\lib
	C:\Tcl85\bin
	C:\Tcl\bin
	C:\Program Files (x86)\Intel\Composer XE 2011 SP1\redist\intel64\mkl
	C:\Program Files (x86)\Intel\Composer XE 2011 SP1\redist\ia32\mkl
	C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\mpirt
	C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler
	C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32\mpirt
	C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32\compiler
	C:\Windows\system32
	C:\Windows
	C:\Windows\System32\Wbem
	C:\Windows\System32\WindowsPowerShell\v1.0
	C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn
	C:\Program Files\Microsoft SQL Server\100\Tools\Binn
	C:\Program Files\Microsoft SQL Server\100\DTS\Binn
	C:\Program Files\TortoiseSVN\bin
	C:\Program Files\MiKTeX 2.9\miktex\bin\x64
	C:\Program Files (x86)\Subversion\bin
	C:\MinGW64\bin
	C:\Tcl\bin
	C:\Delft3D\w32\lib

Output from D:\cygwin\bin\id.exe
UID: 11811(markus)              GID: 12544(Unit DSC)
12544(Unit DSC)                 12398(DeltarixUsers)
12461(hyd)                      10513(DomainUsers)
11286(Afdeling NSS)             11293(Discipline HYDRODYNAMICA)

SysDir: C:\Windows\system32
WinDir: C:\Windows

USER = 'markus'
PWD = '/home/markus'
HOME = '/home/markus'

HOMEPATH = '\Users\markus'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man:'
APPDATA = 'C:\Users\markus\AppData\Roaming'
ProgramW6432 = 'C:\Program Files'
HOSTNAME = 'L00682'
INTEL_LICENSE_FILE = 'c:\Program Files (x86)\Common Files\Intel\Licenses'
SHELL = '/bin/bash'
TERM = 'xterm'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel'
WINDIR = 'C:\Windows'
PUBLIC = 'C:\Users\Public'
OLDPWD = '/cygdrive/c/Users/markus/Desktop'
USERDOMAIN = 'DELTARES'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\ProgramData'
windows_tracing_flags = '3'
windows_tracing_logfile = 'C:\BVTBin\Tests\installpackage\csilogfile.log'
APR_ICONV_PATH = 'C:\Program Files (x86)\Subversion\iconv'
!:: = '::\'
temp = 'C:\Users\markus\AppData\Local\Temp'
COMMONPROGRAMFILES = 'C:\Program Files (x86)\Common Files'
TMP = '/tmp'
F_IA32_REDIST12 = 'c:\Program Files (x86)\Common Files\Intel\Shared Libraries\'
IFORT_COMPILER12 = 'c:\Program Files (x86)\Intel\Composer XE 2011 SP1\'
USERNAME = 'markus'
PAGER = 'more.exe'
PROCESSOR_LEVEL = '6'
ProgramFiles(x86) = 'C:\Program Files (x86)'
PSModulePath = 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
PROCESSOR_ARCHITEW6432 = 'AMD64'
LANG = 'en_US.UTF-8'
USERPROFILE = 'C:\Users\markus'
TZ = 'Europe/Berlin'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\DELTAPDC'
D3D_HOME = 'C:\Delft3D'
CommonProgramW6432 = 'C:\Program Files\Common Files'
PROCESSOR_ARCHITECTURE = 'x86'
LOCALAPPDATA = 'C:\Users\markus\AppData\Local'
LM_LICENSE_FILE = ';C:\Program Files (x86)\DS_Flex;'
ProgramData = 'C:\ProgramData'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
HOMEDRIVE = 'C:'
COMSPEC = 'C:\Windows\system32\cmd.exe'
SYSTEMROOT = 'C:\Windows'
PRINTER = '\\psrw1.deltares.nl\DeltaresMono'
PROCESSOR_REVISION = '3a09'
F_EM64T_REDIST12 = 'c:\Program Files (x86)\Common Files\Intel\Shared Libraries\'
WL_PLUGINS_HOME = 'C:\Delft3D\w32\plugins'
VS100COMNTOOLS = 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\'
ARCH = 'w32'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
SOBEKHOME = '.'
PROGRAMFILES = 'C:\Program Files (x86)'
NUMBER_OF_PROCESSORS = '4'
SESSIONNAME = 'Console'
DHSDELFT_LICENSE_FILE = ';C:\Program Files (x86)\DS_Flex;'
COMPUTERNAME = 'L00682'
_ = '/usr/bin/cygcheck'

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_CURRENT_USER\Software\Cygwin
HKEY_CURRENT_USER\Software\Cygwin\Installations
  (default) = '\??\D:\cygwin'
HKEY_CURRENT_USER\Software\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygwin\setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
  (default) = '\??\d:\cygwin'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
  (default) = 'd:\cygwin'

obcaseinsensitive set to 1

Cygwin installations found in the registry:
  System: Key: 1720b01b097bf4fc Path: d:\cygwin
  User:   Key: 1720b01b097bf4fc Path: D:\cygwin

c:  hd  NTFS     74999Mb  74% CP CS UN PA FC     Windows
d:  hd  NTFS    401737Mb  69% CP CS UN PA FC     Data
e:  cd             N/A    N/A                    

D:\cygwin        /          system  binary,auto
D:\cygwin\bin    /usr/bin   system  binary,auto
D:\cygwin\lib    /usr/lib   system  binary,auto
cygdrive prefix  /cygdrive  user    binary,auto

Found: D:\cygwin\bin\awk
 -> D:\cygwin\bin\gawk.exe
Found: D:\cygwin\bin\bash.exe
Found: D:\cygwin\bin\cat.exe
Found: D:\cygwin\bin\cp.exe
Found: D:\cygwin\bin\cpp.exe
Found: C:\MinGW64\bin\cpp.exe
Warning: D:\cygwin\bin\cpp.exe hides C:\MinGW64\bin\cpp.exe
Found: C:\MinGW64\bin\cpp.exe
Warning: D:\cygwin\bin\cpp.exe hides C:\MinGW64\bin\cpp.exe
 -> D:\cygwin\etc\alternatives\cpp
 -> D:\cygwin\bin\cpp-4.exe
Not Found: crontab
Found: D:\cygwin\bin\find.exe
Found: C:\Windows\system32\find.exe
Warning: D:\cygwin\bin\find.exe hides C:\Windows\system32\find.exe
Found: C:\Windows\system32\find.exe
Warning: D:\cygwin\bin\find.exe hides C:\Windows\system32\find.exe
Found: D:\cygwin\bin\gcc.exe
Found: C:\MinGW64\bin\gcc.exe
Warning: D:\cygwin\bin\gcc.exe hides C:\MinGW64\bin\gcc.exe
Found: C:\MinGW64\bin\gcc.exe
Warning: D:\cygwin\bin\gcc.exe hides C:\MinGW64\bin\gcc.exe
 -> D:\cygwin\etc\alternatives\gcc
 -> D:\cygwin\bin\gcc-4.exe
Found: D:\cygwin\bin\gdb.exe
Found: C:\MinGW64\bin\gdb.exe
Warning: D:\cygwin\bin\gdb.exe hides C:\MinGW64\bin\gdb.exe
Found: C:\MinGW64\bin\gdb.exe
Warning: D:\cygwin\bin\gdb.exe hides C:\MinGW64\bin\gdb.exe
Found: D:\cygwin\bin\grep.exe
Found: D:\cygwin\bin\kill.exe
Found: D:\cygwin\bin\ld.exe
Found: C:\MinGW64\bin\ld.exe
Warning: D:\cygwin\bin\ld.exe hides C:\MinGW64\bin\ld.exe
Found: C:\MinGW64\bin\ld.exe
Warning: D:\cygwin\bin\ld.exe hides C:\MinGW64\bin\ld.exe
Found: D:\cygwin\bin\ls.exe
Found: D:\cygwin\bin\make.exe
Found: D:\cygwin\bin\mv.exe
Not Found: patch
Found: D:\cygwin\bin\perl.exe
Found: D:\cygwin\bin\rm.exe
Found: D:\cygwin\bin\sed.exe
Not Found: ssh
Found: D:\cygwin\bin\sh.exe
Found: D:\cygwin\bin\tar.exe
Found: D:\cygwin\bin\test.exe
Found: D:\cygwin\bin\vi.exe
Not Found: vim

   14k 2012/05/04 D:\cygwin\bin\cygattr-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygattr-1.dll" v0.0 ts=2012-05-04 12:35
   62k 2011/05/21 D:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2011-05-21 20:16
  108k 2010/01/05 D:\cygwin\bin\cygcloog-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcloog-0.dll" v0.0 ts=2010-01-05 00:45
    7k 2012/05/07 D:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypt-0.dll" v0.0 ts=2012-05-07 12:18
 1518k 2013/02/12 D:\cygwin\bin\cygcrypto-1.0.0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-1.0.0.dll" v0.0 ts=2013-02-12 14:44
  929k 2011/11/10 D:\cygwin\bin\cygdb-4.5.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-4.5.dll" v0.0 ts=2011-11-10 19:52
   93k 2011/11/10 D:\cygwin\bin\cygdb_cxx-4.5.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb_cxx-4.5.dll" v0.0 ts=2011-11-10 19:53
  148k 2013/04/16 D:\cygwin\bin\cygexpat-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygexpat-1.dll" v0.0 ts=2013-04-16 14:02
   21k 2011/10/26 D:\cygwin\bin\cygffi-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygffi-4.dll" v0.0 ts=2011-10-23 14:33
  189k 2013/04/08 D:\cygwin\bin\cygfontconfig-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygfontconfig-1.dll" v0.0 ts=2013-04-08 03:55
   43k 2010/01/02 D:\cygwin\bin\cygform-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-10.dll" v0.0 ts=2010-01-02 14:49
   43k 2009/11/20 D:\cygwin\bin\cygform-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-9.dll" v0.0 ts=2009-11-20 19:14
   47k 2010/01/02 D:\cygwin\bin\cygformw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygformw-10.dll" v0.0 ts=2010-01-02 17:31
  583k 2013/05/14 D:\cygwin\bin\cygfreetype-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygfreetype-6.dll" v0.0 ts=2013-05-14 04:42
   79k 2011/10/26 D:\cygwin\bin\cyggcc_s-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggcc_s-1.dll" v0.0 ts=2011-10-23 14:15
   19k 2009/02/26 D:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2009-02-26 07:58
    8k 2009/02/26 D:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2009-02-26 07:58
  713k 2011/10/26 D:\cygwin\bin\cyggfortran-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggfortran-3.dll" v0.0 ts=2011-10-23 15:15
  317k 2011/07/31 D:\cygwin\bin\cyggmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmp-3.dll" v0.0 ts=2011-07-31 06:14
   14k 2011/07/31 D:\cygwin\bin\cyggmpxx-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmpxx-4.dll" v0.0 ts=2011-07-31 11:31
   42k 2011/10/26 D:\cygwin\bin\cyggomp-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggomp-1.dll" v0.0 ts=2011-10-23 14:21
   25k 2012/05/04 D:\cygwin\bin\cyghistory7.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory7.dll" v0.0 ts=2012-05-04 22:07
  985k 2011/10/16 D:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2011-10-16 18:01
  192k 2013/04/05 D:\cygwin\bin\cygidn-11.dll - os=4.0 img=1.0 sys=4.0
                  "cygidn-11.dll" v0.0 ts=2013-04-05 09:35
   35k 2011/10/16 D:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-8.dll" v0.0 ts=2011-10-16 06:38
    5k 2013/06/07 D:\cygwin\bin\cyglsa.dll - os=4.0 img=1.0 sys=4.0
                  "cyglsa.dll" v0.0 ts=2013-06-07 10:10
    6k 2013/06/07 D:\cygwin\bin\cyglsa64.dll   30k 2010/09/23 D:\cygwin\bin\cygltdl-7.dll - os=4.0 img=1.0 sys=4.0
                  "cygltdl-7.dll" v0.0 ts=2010-09-23 20:45
  123k 2011/05/19 D:\cygwin\bin\cyglzma-5.dll - os=4.0 img=1.0 sys=4.0
                  "cyglzma-5.dll" v0.0 ts=2011-05-19 03:41
   94k 2012/04/22 D:\cygwin\bin\cygmagic-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygmagic-1.dll" v0.0 ts=2012-04-22 19:09
   25k 2010/01/02 D:\cygwin\bin\cygmenu-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-10.dll" v0.0 ts=2010-01-02 14:48
   25k 2009/11/20 D:\cygwin\bin\cygmenu-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-9.dll" v0.0 ts=2009-11-20 19:13
   25k 2010/01/02 D:\cygwin\bin\cygmenuw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenuw-10.dll" v0.0 ts=2010-01-02 17:30
  213k 2011/07/31 D:\cygwin\bin\cygmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygmp-3.dll" v0.0 ts=2011-07-31 06:12
   64k 2009/11/09 D:\cygwin\bin\cygmpc-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygmpc-1.dll" v0.0 ts=2009-11-09 01:21
  269k 2009/06/07 D:\cygwin\bin\cygmpfr-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygmpfr-1.dll" v0.0 ts=2009-06-07 22:10
 1102k 2011/08/07 D:\cygwin\bin\cygmpfr-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygmpfr-4.dll" v0.0 ts=2011-08-07 02:47
   63k 2010/01/02 D:\cygwin\bin\cygncurses++-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-10.dll" v0.0 ts=2010-01-02 15:00
   63k 2009/11/20 D:\cygwin\bin\cygncurses++-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-9.dll" v0.0 ts=2009-11-20 19:25
   63k 2010/01/02 D:\cygwin\bin\cygncurses++w-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++w-10.dll" v0.0 ts=2010-01-02 17:41
  195k 2010/01/02 D:\cygwin\bin\cygncurses-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-10.dll" v0.0 ts=2010-01-02 14:45
  198k 2009/11/20 D:\cygwin\bin\cygncurses-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-9.dll" v0.0 ts=2009-11-20 19:10
  244k 2010/01/02 D:\cygwin\bin\cygncursesw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncursesw-10.dll" v0.0 ts=2010-01-02 17:28
   13k 2010/01/02 D:\cygwin\bin\cygpanel-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-10.dll" v0.0 ts=2010-01-02 14:47
   13k 2009/11/20 D:\cygwin\bin\cygpanel-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-9.dll" v0.0 ts=2009-11-20 19:12
   13k 2010/01/02 D:\cygwin\bin\cygpanelw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanelw-10.dll" v0.0 ts=2010-01-02 16:30
  255k 2012/02/10 D:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2012-02-10 10:24
 1628k 2012/07/12 D:\cygwin\bin\cygperl5_14.dll - os=4.0 img=1.0 sys=4.0
                  "cygperl5_14.dll" v0.0 ts=2012-07-12 20:17
   22k 2002/06/09 D:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002-06-09 06:45
  695k 2009/04/18 D:\cygwin\bin\cygppl-7.dll - os=4.0 img=1.0 sys=4.0
                  "cygppl-7.dll" v0.0 ts=2009-04-18 13:44
 2481k 2009/04/18 D:\cygwin\bin\cygppl_c-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygppl_c-2.dll" v0.0 ts=2009-04-18 13:47
   18k 2009/04/18 D:\cygwin\bin\cygpwl-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygpwl-4.dll" v0.0 ts=2009-04-18 13:44
  162k 2012/05/04 D:\cygwin\bin\cygreadline7.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline7.dll" v0.0 ts=2012-05-04 22:07
    8k 2011/05/05 D:\cygwin\bin\cygsigsegv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygsigsegv-2.dll" v0.0 ts=2011-05-05 08:33
  366k 2013/02/12 D:\cygwin\bin\cygssl-1.0.0.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-1.0.0.dll" v0.0 ts=2013-02-12 14:44
    8k 2011/10/26 D:\cygwin\bin\cygssp-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygssp-0.dll" v0.0 ts=2011-10-23 14:33
  780k 2011/10/26 D:\cygwin\bin\cygstdc++-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygstdc++-6.dll" v0.0 ts=2011-10-23 14:58
   48k 2010/01/02 D:\cygwin\bin\cygtic-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygtic-10.dll" v0.0 ts=2010-01-02 14:45
   48k 2009/11/20 D:\cygwin\bin\cygtic-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygtic-9.dll" v0.0 ts=2009-11-20 19:10
   48k 2010/01/02 D:\cygwin\bin\cygticw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygticw-10.dll" v0.0 ts=2010-01-02 17:28
 1140k 2013/06/06 D:\cygwin\bin\cygX11-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygX11-6.dll" v0.0 ts=2013-06-06 09:20
   10k 2013/06/06 D:\cygwin\bin\cygXau-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXau-6.dll" v0.0 ts=2013-06-06 06:29
   99k 2013/06/06 D:\cygwin\bin\cygxcb-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxcb-1.dll" v0.0 ts=2013-06-06 07:11
   17k 2012/03/12 D:\cygwin\bin\cygXdmcp-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXdmcp-6.dll" v0.0 ts=2012-03-12 10:52
   61k 2013/06/06 D:\cygwin\bin\cygXext-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXext-6.dll" v0.0 ts=2013-06-06 10:06
   66k 2012/06/14 D:\cygwin\bin\cygXft-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygXft-2.dll" v0.0 ts=2012-06-14 19:13
 1235k 2013/04/21 D:\cygwin\bin\cygxml2-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygxml2-2.dll" v0.0 ts=2013-04-21 05:37
   31k 2012/05/23 D:\cygwin\bin\cygXrender-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXrender-1.dll" v0.0 ts=2012-05-23 05:52
    9k 2012/05/23 D:\cygwin\bin\cygXss-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXss-1.dll" v0.0 ts=2012-05-23 05:56
   73k 2013/05/09 D:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2013-05-09 22:21
 2807k 2013/06/07 D:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2013-06-07 10:11
    Cygwin DLL version info:
        DLL version: 1.7.20
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 266
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5

  978k 2012/10/25 C:\Delft3D\w32\lib\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2008-11-10 00:35
   31k 2012/10/25 C:\Delft3D\w32\lib\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-3.dll" v0.0 ts=2005-11-20 02:04
  237k 2012/10/25 C:\Delft3D\w32\lib\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-8.dll" v0.0 ts=2009-03-01 02:36
  181k 2012/10/25 C:\Delft3D\w32\lib\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2008-09-07 04:36
 1829k 2012/10/25 C:\Delft3D\w32\lib\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2008-06-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

  978k 2012/10/25 C:\Delft3D\w32\lib\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2008-11-10 00:35
   31k 2012/10/25 C:\Delft3D\w32\lib\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-3.dll" v0.0 ts=2005-11-20 02:04
  237k 2012/10/25 C:\Delft3D\w32\lib\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-8.dll" v0.0 ts=2009-03-01 02:36
  181k 2012/10/25 C:\Delft3D\w32\lib\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2008-09-07 04:36
 1829k 2012/10/25 C:\Delft3D\w32\lib\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2008-06-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

Warning: There are multiple cygwin1.dlls on your path

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


Cygwin Package Information
Last downloaded files to: d:\cygwin
Last downloaded files from: ftp://ftp.hawo.stw.uni-erlangen.de/cygwin/

Package              Version              Status
_autorebase          000311-1             OK
_update-info-dir     01142-1              OK
alternatives         1.3.30c-10           OK
autoconf             10-1                 OK
autoconf2.1          2.13-10              OK
autoconf2.5          2.69-1               OK
automake             7-1                  OK
automake1.10         1.10.3-1             OK
automake1.11         1.11.6-1             OK
automake1.12         1.12.5-1             OK
automake1.4          1.4p6-10             OK
automake1.5          1.5-10               OK
automake1.6          1.6.3-11             OK
automake1.7          1.7.9-10             OK
automake1.8          1.8.5-10             OK
automake1.9          1.9.6-10             OK
base-cygwin          3.1-1                OK
base-files           4.1-1                OK
bash                 4.1.10-4             OK
binutils             2.23.51-1            OK
bzip2                1.0.6-2              OK
cmake                2.8.9-2              OK
coreutils            8.15-1               OK
crypt                1.2-1                OK
cygutils             1.4.12-2             OK
cygwin               1.7.20-1             OK
cygwin-doc           1.7-1                OK
dash                 0.5.7-1              OK
diffutils            3.2-1                OK
dos2unix             6.0.3-1              OK
editrights           1.01-2               OK
file                 5.11-1               OK
findutils            4.5.11-1             OK
gawk                 4.1.0-1              OK
Empty package gcc4
gcc4                 4.5.3-3              OK
gcc4-core            4.5.3-3              OK
gcc4-fortran         4.5.3-3              OK
gcc4-g++             4.5.3-3              OK
gdb                  7.6.50-2             OK
gettext              0.18.1.1-2           OK
grep                 2.6.3-1              OK
groff                1.21-2               OK
gzip                 1.4-1                OK
ipc-utils            1.0-1                OK
less                 444-1                OK
libattr1             2.4.46-1             OK
libbz2_1             1.0.6-2              OK
libcloog0            0.15.7-1             OK
libdb4.5             4.5.20.2-3           OK
libexpat1            2.1.0-2              OK
libffi4              4.5.3-3              OK
libfontconfig1       2.10.2-1             OK
libfreetype6         2.4.12-1             OK
libgcc1              4.5.3-3              OK
libgdbm4             1.8.3-20             OK
libgfortran3         4.5.3-3              OK
libgmp3              4.3.2-1              OK
libgmpxx4            4.3.2-1              OK
libgomp1             4.5.3-3              OK
libiconv2            1.14-2               OK
libidn11             1.26-1               OK
libintl8             0.18.1.1-2           OK
libltdl7             2.4-1                OK
liblzma5             5.0.2_20110517-1     OK
libmpc1              0.8-1                OK
libmpfr1             2.4.1-4              OK
libmpfr4             3.0.1-1              OK
libncurses10         5.7-18               OK
libncurses9          5.7-16               OK
libncursesw10        5.7-18               OK
libopenssl100        1.0.1e-2             OK
libpcre0             8.21-2               OK
libpopt0             1.6.4-4              OK
libppl               0.10.2-1             OK
libreadline7         6.1.2-3              OK
libsigsegv2          2.10-1               OK
libssp0              4.5.3-3              OK
libstdc++6           4.5.3-3              OK
libstdc++6-devel     4.5.3-3              OK
libtool              2.4-1                OK
libX11_6             1.6.0-1              OK
libXau6              1.0.8-1              OK
libxcb1              1.9.1-1              OK
libXdmcp6            1.1.1-1              OK
libXext6             1.3.2-1              OK
libXft2              2.3.1-1              OK
libxml2              2.9.1-1              OK
libXrender1          0.9.7-1              OK
libXss1              1.2.2-1              OK
login                1.10-10              OK
m4                   1.4.16-1             OK
make                 3.82.90-1            OK
man                  1.6g-2               OK
mintty               1.1.3-1              OK
perl                 5.14.2-3             OK
perl_vendor          5.14.2-3             OK
rebase               4.4.0-1              OK
run                  1.2.0-1              OK
sed                  4.2.1-2              OK
tar                  1.26-1               OK
tcl                  8.5.11-1             OK
tcl-tk               8.5.11-1             OK
terminfo             5.7_20091114-14      OK
texinfo              4.13-4               OK
tzcode               2013c-1              OK
vim-minimal          7.3.1152-1           OK
Empty package w32api
w32api               9999-1               OK
w32api-headers       3.0b_svn5747-1       OK
w32api-runtime       3.0b_svn5747-1       OK
which                2.20-2               OK
xz                   5.0.2_20110517-1     OK
zlib0                1.2.8-1              OK
Use -h to see help about each section

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problems with file permissions during a build
  2013-06-21  8:21 Problems with file permissions during a build Arjen Markus
@ 2013-06-21  8:49 ` Corinna Vinschen
  2013-06-21 11:04   ` Arjen Markus
  0 siblings, 1 reply; 15+ messages in thread
From: Corinna Vinschen @ 2013-06-21  8:49 UTC (permalink / raw)
  To: cygwin

On Jun 21 10:05, Arjen Markus wrote:
> Hello,
> 
> I have been experiencing problems with building several unrelated
> projects on Cygwin/Windows 7. One of them is GCC 4.8.1, another is a
> project that uses CMake to create the Makefiles. The problems occur
> either during the configuration
> (the CMake-based project) or during the make itself (GCC).
> 
> What happens is that during the build files are created that have a
> file permission
> of ---------, which makes them unusable by the next step in the build.
> 
> According to the FAQ this could be caused by the translation between
> POSIX permissions and the Windows ACE information.
> 
> To get around that, I tried to turn off ACL for the disk I am working
> on, but that
> failed. Obviously I am doing something wrong. But I can not find the information
> to solve this issue.
> 
> Do you have any suggestions?

A reproducible, minimal testcase extracted from your project might help.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problems with file permissions during a build
  2013-06-21  8:49 ` Corinna Vinschen
@ 2013-06-21 11:04   ` Arjen Markus
  2013-06-21 11:07     ` Corinna Vinschen
  0 siblings, 1 reply; 15+ messages in thread
From: Arjen Markus @ 2013-06-21 11:04 UTC (permalink / raw)
  To: cygwin

I have a small testcase, but my replies are consistently refused.
How do I solve that?

Regards,

Arjen

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problems with file permissions during a build
  2013-06-21 11:04   ` Arjen Markus
@ 2013-06-21 11:07     ` Corinna Vinschen
  2013-06-21 11:18       ` Arjen Markus
  0 siblings, 1 reply; 15+ messages in thread
From: Corinna Vinschen @ 2013-06-21 11:07 UTC (permalink / raw)
  To: cygwin

On Jun 21 13:00, Arjen Markus wrote:
> I have a small testcase, but my replies are consistently refused.
> How do I solve that?

The reason should be given in the reply you get.  Basically, don't
use raw email addresses in your body, don't use html.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problems with file permissions during a build
  2013-06-21 11:07     ` Corinna Vinschen
@ 2013-06-21 11:18       ` Arjen Markus
  2013-06-21 11:34         ` Arjen Markus
  0 siblings, 1 reply; 15+ messages in thread
From: Arjen Markus @ 2013-06-21 11:18 UTC (permalink / raw)
  To: cygwin

Well, I got a message back about using too many keywords that made it look like
an off-topic reply. But without an indication (of course) of what
these keywords are.

Regards,

Arjen

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problems with file permissions during a build
  2013-06-21 11:18       ` Arjen Markus
@ 2013-06-21 11:34         ` Arjen Markus
  2013-06-21 11:40           ` Corinna Vinschen
  0 siblings, 1 reply; 15+ messages in thread
From: Arjen Markus @ 2013-06-21 11:34 UTC (permalink / raw)
  To: cygwin

Trying again:

- Unpack the tar file in a separate directory, say, and create a work
directory in which
  to configure and build it, something like:

  src/       - contents of the tar-file
  work/     - directory to work in
  CMakeLists.txt  - the main CMake file

- Run CMake in the work directory:

  cmake -G "Cygwin Makefiles" ../src

  This should complete without problems.

- Examine the contents of the directory src/include in the working directory.
  The file permissions for the file "gnulliver.h" are -----

  This is the result on my machine:

  $ ls -l
total 13
-rw-r--r--  1 markus Unit DSC 1802 Jun 21 10:48 cmake_install.cmake
drwxr-xr-x+ 1 markus Unit DSC    0 Jun 21 10:48 CMakeFiles
----------  1 markus Unit DSC   41 Jun 21 10:48 gnulliver.h
-rw-r--r--  1 markus Unit DSC 5759 Jun 21 10:48 Makefile

Regards,

Arjen

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problems with file permissions during a build
  2013-06-21 11:34         ` Arjen Markus
@ 2013-06-21 11:40           ` Corinna Vinschen
  2013-06-21 12:11             ` Arjen Markus
  0 siblings, 1 reply; 15+ messages in thread
From: Corinna Vinschen @ 2013-06-21 11:40 UTC (permalink / raw)
  To: cygwin

On Jun 21 13:18, Arjen Markus wrote:
> Trying again:
> 
> - Unpack the tar file in a separate directory, say, and create a work
> directory in which
>   to configure and build it, something like:
> 
>   src/       - contents of the tar-file
>   work/     - directory to work in
>   CMakeLists.txt  - the main CMake file
> 
> - Run CMake in the work directory:
> 
>   cmake -G "Cygwin Makefiles" ../src
> 
>   This should complete without problems.
> 
> - Examine the contents of the directory src/include in the working directory.
>   The file permissions for the file "gnulliver.h" are -----
> 
>   This is the result on my machine:
> 
>   $ ls -l
> total 13
> -rw-r--r--  1 markus Unit DSC 1802 Jun 21 10:48 cmake_install.cmake
> drwxr-xr-x+ 1 markus Unit DSC    0 Jun 21 10:48 CMakeFiles
> ----------  1 markus Unit DSC   41 Jun 21 10:48 gnulliver.h
> -rw-r--r--  1 markus Unit DSC 5759 Jun 21 10:48 Makefile

Thanks, but... the tar file is missing...


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problems with file permissions during a build
  2013-06-21 11:40           ` Corinna Vinschen
@ 2013-06-21 12:11             ` Arjen Markus
  2013-06-21 12:18               ` Corinna Vinschen
  0 siblings, 1 reply; 15+ messages in thread
From: Arjen Markus @ 2013-06-21 12:11 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 29 bytes --]

Here it is.

Regards,

Arjen

[-- Attachment #2: problem-cygwin.tgz --]
[-- Type: application/x-gzip, Size: 653 bytes --]

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problems with file permissions during a build
  2013-06-21 12:11             ` Arjen Markus
@ 2013-06-21 12:18               ` Corinna Vinschen
  2013-06-21 12:29                 ` Arjen Markus
  0 siblings, 1 reply; 15+ messages in thread
From: Corinna Vinschen @ 2013-06-21 12:18 UTC (permalink / raw)
  To: cygwin

On Jun 21 13:40, Arjen Markus wrote:
> Here it is.
> 
> Regards,
> 
> Arjen

Is the tar file broken?

  $ tar xvzf problem-cygwin.tgz
  src/
  src/CMakeLists.txt
  src/include/
  src/include/CMakeLists.txt
  src/include/gnulliver.h.in
  CMakeLists.txt
  tar: A lone zero block at 11
  $ mkdir work
  $ cd work
  $ cmake --G "Cygwin Makefiles" ../src
  CMake Error: Could not create named generator Cygwin Makefiles


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problems with file permissions during a build
  2013-06-21 12:18               ` Corinna Vinschen
@ 2013-06-21 12:29                 ` Arjen Markus
  2013-06-21 12:39                   ` Corinna Vinschen
  0 siblings, 1 reply; 15+ messages in thread
From: Arjen Markus @ 2013-06-21 12:29 UTC (permalink / raw)
  To: cygwin

Oops, my mistake. The correct invocation of CMake is:

cmake -G "Unix Makefiles" ../

(These generators are part of CMake, not of the tar file)

Regards,

Arjen

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problems with file permissions during a build
  2013-06-21 12:29                 ` Arjen Markus
@ 2013-06-21 12:39                   ` Corinna Vinschen
  2013-06-21 13:00                     ` Arjen Markus
  0 siblings, 1 reply; 15+ messages in thread
From: Corinna Vinschen @ 2013-06-21 12:39 UTC (permalink / raw)
  To: cygwin

On Jun 21 14:18, Arjen Markus wrote:
> Oops, my mistake. The correct invocation of CMake is:
> 
> cmake -G "Unix Makefiles" ../
> 
> (These generators are part of CMake, not of the tar file)

Ok, thank you.  I never used cmake before so I didn't notice.

Other than that, I have not the problem you're reporting:

  $ cmake -G "Unix Makefiles" ../
  -- The C compiler identification is GNU 4.5.3
  CMake Warning at /usr/share/cmake-2.8.9/Modules/Platform/CYGWIN.cmake:15 (message):
    CMake no longer defines WIN32 on Cygwin!

    (1) If you are just trying to build this project, ignore this warning or
    quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in
    the CMake cache.  If later configuration or build errors occur then this
    project may have been written under the assumption that Cygwin is WIN32.
    In that case, set CMAKE_LEGACY_CYGWIN_WIN32=1 instead.

    (2) If you are developing this project, add the line

      set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required

    at the top of your top-level CMakeLists.txt file or set the minimum
    required version of CMake to 2.8.4 or higher.  Then teach your project to
    build on Cygwin without WIN32.
  Call Stack (most recent call first):
    /usr/share/cmake-2.8.9/Modules/CMakeSystemSpecificInformation.cmake:36 (INCLUDE)
    CMakeLists.txt:3 (project)


  -- Check for working C compiler: /usr/bin/gcc.exe
  -- Check for working C compiler: /usr/bin/gcc.exe -- works
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- CMake version = 2.8.9
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /home/corinna/tmp/cmake/work
  $ ls -l src/include
  total 13
  -rw-r--r--  1 corinna vinschen 1788 Jun 21 14:24 cmake_install.cmake
  drwxr-xr-x+ 1 corinna vinschen    0 Jun 21 14:24 CMakeFiles
  -rw-r--r--  1 corinna vinschen   41 Jun 21 14:24 gnulliver.h
  -rw-r--r--  1 corinna vinschen 5675 Jun 21 14:24 Makefile

Are you using all the latest Cygwin packages?

Are you running this in a directory under the /cygdrive prefix or under
a remote share?  If so, what if you build under a path within the normal
POSIX directory structure?

Running this call under strace might help to see if this is a problem
in Cygwin or cmake.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problems with file permissions during a build
  2013-06-21 12:39                   ` Corinna Vinschen
@ 2013-06-21 13:00                     ` Arjen Markus
  2013-06-21 13:19                       ` Corinna Vinschen
  0 siblings, 1 reply; 15+ messages in thread
From: Arjen Markus @ 2013-06-21 13:00 UTC (permalink / raw)
  To: cygwin

I noticed that if I use noacl, then I get the correct looking POSIX permissions,
but the Windows permissions make it impossible to use the file.

Try: cat gnulliver.h

I have had the same problem with a package built via autotools, so it
is more general
than CMake. (I first reported this on the CMake list, but they did not
know the solution)

I run it on /cygdrive/d, which is my Windows d-disk.

Regards,

Arjen

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problems with file permissions during a build
  2013-06-21 13:00                     ` Arjen Markus
@ 2013-06-21 13:19                       ` Corinna Vinschen
  2013-06-21 13:31                         ` Arjen Markus
  0 siblings, 1 reply; 15+ messages in thread
From: Corinna Vinschen @ 2013-06-21 13:19 UTC (permalink / raw)
  To: cygwin

On Jun 21 14:38, Arjen Markus wrote:
> I noticed that if I use noacl, then I get the correct looking POSIX permissions,
> but the Windows permissions make it impossible to use the file.

I always use "acl" as mount option.

> Try: cat gnulliver.h

  $ pwd
  /home/corinna/tmp/cmake/work
  $ cat src/include/gnulliver.h
  #define GNULLIVER_HOST_FLOAT32_DOUBLE64

> I have had the same problem with a package built via autotools, so it
> is more general
> than CMake. (I first reported this on the CMake list, but they did not
> know the solution)
> 
> I run it on /cygdrive/d, which is my Windows d-disk.

Ok, so I tried under /cygdrive/c and the result is the same, then I
tried under an explicit noacl mount point and the result is still the
same.  The file has always enough permissions and reading it is no
problem at all.

But the default Windows permissions on the parent dir of your build dir
could explain that behavior when using the noacl mount option.  Noacl
means, just let Windows do what it always does and fake the permissions
rather than evaluating them from the given ACL.  Remount again with "acl",
and change the permissions explicitely:

  $ chown -R you.your-group .
  $ chmod -R u+rw,go+r .

Also, make sure your umask is set to a useful value:

  $ umask 22


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problems with file permissions during a build
  2013-06-21 13:19                       ` Corinna Vinschen
@ 2013-06-21 13:31                         ` Arjen Markus
  2013-06-21 21:11                           ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 15+ messages in thread
From: Arjen Markus @ 2013-06-21 13:31 UTC (permalink / raw)
  To: cygwin

Hi Corinna,

you seem to have hit the right spot. The parent directories had the
permission ------
according to Cygwin, but I could still enter them via cd. Things go
wrong if under Cygwin
a file gets _copied_ via cp or something similar that takes the file
permissions according
to POSIX from the parent file. Then the copy gets the same unuseable
permissions,
but this time for real (that is: Windows agrees that they should not
be readable!)

The build is still running, but I have good hopes this time it can complete.

Regards,

Arjen

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Problems with file permissions during a build
  2013-06-21 13:31                         ` Arjen Markus
@ 2013-06-21 21:11                           ` Larry Hall (Cygwin)
  0 siblings, 0 replies; 15+ messages in thread
From: Larry Hall (Cygwin) @ 2013-06-21 21:11 UTC (permalink / raw)
  To: cygwin

On 6/21/2013 9:19 AM, Arjen Markus wrote:
> Hi Corinna,
>
> you seem to have hit the right spot. The parent directories had the
> permission ------
> according to Cygwin, but I could still enter them via cd. Things go
> wrong if under Cygwin
> a file gets _copied_ via cp or something similar that takes the file
> permissions according
> to POSIX from the parent file. Then the copy gets the same unuseable
> permissions,
> but this time for real (that is: Windows agrees that they should not
> be readable!)

Windows allows you to traverse directories you don't have access to by
default.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2013-06-21 21:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-21  8:21 Problems with file permissions during a build Arjen Markus
2013-06-21  8:49 ` Corinna Vinschen
2013-06-21 11:04   ` Arjen Markus
2013-06-21 11:07     ` Corinna Vinschen
2013-06-21 11:18       ` Arjen Markus
2013-06-21 11:34         ` Arjen Markus
2013-06-21 11:40           ` Corinna Vinschen
2013-06-21 12:11             ` Arjen Markus
2013-06-21 12:18               ` Corinna Vinschen
2013-06-21 12:29                 ` Arjen Markus
2013-06-21 12:39                   ` Corinna Vinschen
2013-06-21 13:00                     ` Arjen Markus
2013-06-21 13:19                       ` Corinna Vinschen
2013-06-21 13:31                         ` Arjen Markus
2013-06-21 21:11                           ` Larry Hall (Cygwin)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).