Re: bash-4.2 and symlink to folder that turns to be not executable

2011-08-01 Thread Denis Excoffier
On Tue, Aug 02, 2011 at 07:53:44AM +0159, Denis Excoffier wrote: >> On Mon, Aug 01, 2011 at 07:02:48PM +0200, Corinna Vinschen wrote: >> >> >> >> Ouch. I made a mistake in a bracket term in faccessat. Fixed in CVS. >> >> Thanks for following up with more testing. >> I tried to compile the cygwin

Re: bash-4.2 and symlink to folder that turns to be not executable

2011-08-01 Thread Denis Excoffier
On Mon, Aug 01, 2011 at 07:02:48PM +0200, Corinna Vinschen wrote: >> >> Ouch. I made a mistake in a bracket term in faccessat. Fixed in CVS. >> Thanks for following up with more testing. I tried to compile the cygwin sources and it failed because bfd.h is not found (in dumper.cc). Since asection

Re: bash-4.2 and symlink to folder that turns to be not executable

2011-08-01 Thread Corinna Vinschen
On Aug 1 16:12, Denis Excoffier wrote: > On Mon, Aug 01, 2011 at 02:24:25PM +0200, Corinna Vinschen wrote: > >>access (/tmp/xxx/folder, W_OK) = 0 > >>access (/tmp/xxx/folder, X_OK) = 0 > >> eaccess (/tmp/xxx/folder, F_OK) = 0 > >> eaccess (/tmp/xxx/folder, R_OK) = 0 > >> eaccess (/tm

Re: bash-4.2 and symlink to folder that turns to be not executable

2011-08-01 Thread Denis Excoffier
On Mon, Aug 01, 2011 at 02:24:25PM +0200, Corinna Vinschen wrote: >> >> However, at a first glance I doubt this is a Cygwin bug. Consider: >> >> - bash 4.1.10 returns "execut" >> - /bin/test from coreustils returns "execut" >> - My highly professional and streamlined testcase returns the correc

Re: bash-4.2 and symlink to folder that turns to be not executable

2011-08-01 Thread Corinna Vinschen
On Aug 1 13:58, Denis Excoffier wrote: > > Hello, > > I have a bash-4.2 (installed in /home/my), compiled with GCC 4.6.1 > directly from the sources. With this one, the following script: > > - > #!/home/my/bash-4.2 > > rm -rf /tmp/xxx > mkdir -p /tmp/xxx/folder1