Re: Problems with file permissions during a build

2013-06-21 Thread Larry Hall (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 fi

Re: Problems with file permissions during a build

2013-06-21 Thread Arjen Markus
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 p

Re: Problems with file permissions during a build

2013-06-21 Thread Corinna Vinschen
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 s

Re: Problems with file permissions during a build

2013-06-21 Thread Arjen Markus
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 CMa

Re: Problems with file permissions during a build

2013-06-21 Thread Corinna Vinschen
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: Problems with file permissions during a build

2013-06-21 Thread Arjen Markus
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://cyg

Re: Problems with file permissions during a build

2013-06-21 Thread Corinna Vinschen
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

Re: Problems with file permissions during a build

2013-06-21 Thread Arjen Markus
Here it is. Regards, Arjen problem-cygwin.tgz Description: GNU Zip compressed data -- 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-

Re: Problems with file permissions during a build

2013-06-21 Thread Corinna Vinschen
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 -

Re: Problems with file permissions during a build

2013-06-21 Thread Arjen Markus
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

Re: Problems with file permissions during a build

2013-06-21 Thread Arjen Markus
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/ Documentati

Re: Problems with file permissions during a build

2013-06-21 Thread Corinna Vinschen
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

Re: Problems with file permissions during a build

2013-06-21 Thread Arjen Markus
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.co

Re: Problems with file permissions during a build

2013-06-21 Thread Corinna Vinschen
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

Problems with file permissions during a build

2013-06-21 Thread Arjen Markus
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