DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4BSH7tkb1469864 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4BSH7tkb1469864 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=jPp+pzcf X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2ADF43858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1735405673; bh=4j8/GkYsNe1jb2jdcYb5fhrNXRYAU0yxtwdRuHMhQQ4=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=jPp+pzcfK/npRxf+9MN1sN2Gy72RbB1MYl69UehyL0FI00BeMcf32699jw8DimRUt kpeyBDLVz+NxAl87QPrhGFqBrRugmEKvgVwxXiBbPiBNwP7Svo60Ut1kRE2zSnMP17 9r54e66vL1StUITPU4KNuOAlYuiY8DGOFmZmdNx4= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 365563858D20 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 365563858D20 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1735405646; cv=pass; b=F2t1cCwUr4S7+SDTos2KUng08cydVtXlrACApNNVSUvs0U36/qg6TMadpFpw7RUQbJO8DrQf3icvd5QU8Wmlc0sfh4ff3s+fkB4zefugXf+iSFQ8EqGJ2xDCQeNtcqrEU5V0ubvBlDcl3QPM4OZf9WKMU/bFSWnY3FeTF3azGfo= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1735405646; c=relaxed/simple; bh=01A1OnTkFsh8D2qD5IQDOiP/mgExh09e8+Yymcdz44s=; h=DKIM-Signature:Message-ID:Date:To:From:Subject:MIME-Version; b=NhwbzmTVmhBcg2hI7sWNbduGcEc4rrIJ2j8fsMD9J2Lk6bTJ9OfONFMtHMQNwTD4cwikTb/wan5yBwE2q6cN/wuew/pT6AOMb1b3Fn3v05nZAHKP6IC3r+a+/zkQ+xJlP3oToZ70wDYONLaRwv3kcO1NDPCKMMVjTUAvJu80C4I= ARC-Authentication-Results: i=2; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 365563858D20 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ffMxICopWnr3JaySZFmurK5/pOJtsnKSwfrxoNiRHX6P/blhWCO1FAqHqzOYfeMOaIHdhR5Q+Yn/JFe3BfbWPQziLOjWkt4wK8vmVeHnvqUBajhhWpG3Eo77xlWW9OIvC+f9bTcOb12y3CT/nqddiEi0McToihU8zMf6puGDVg4KmmElWoQXefDWYwRxAXPe+PfsQLdIEuP/jCT7OiPu32IljwF6fSVPoKXNCoNiZibyYWWTv3bF/GSQDa0iqp+aAPAIRvSCb3IV24QlN3w1pLaYJdH8xSySPr7BlwZDT1zUEIIUXHCMAPaKsmVHcUCG7tT6FOAmjLESb4eJrlkWQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=WcXiCqQES/CyMggNnqnEPtNSLewKQ3fr/yLZfMICygk=; b=R09Dx+zgocDvTCjvBNKTbNevt9bxY794HWEjMilRCnxC15pSW/CFHtxpIOUygv+68H0nvugpWO/96QR2v0SLniZshT34k/iYTgotDf7PN0qsXNj8N4iGyWBfy6fZxFhy3Ly8hPv+ZgSdQSBhVE8GTExHsnfDCX+MtSQ7YQR/0AQLbR9ec6fkQ7dmm0uryo4l+ThbFFbKEfu/O4ccwXQCgyj4pjyNZwss6jYspnrSxJtVomp8PcNa6MIaHxsU3euW3zFIPCqdHvPdohwLGQtcEEkSVtzFiOktLBKlUcbKmehW6cue5dR/yZ5rvzxYxPWi89NCYkIvK9KOBYgbOg6e3A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Message-ID: Date: Sat, 28 Dec 2024 17:07:10 +0000 User-Agent: Betterbird (Windows) Content-Language: en-US To: cygwin AT cygwin DOT com Subject: Anomaly in CRON execution of shell script X-ClientProxiedBy: LO2P265CA0134.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:9f::26) To AS4P194MB1816.EURP194.PROD.OUTLOOK.COM (2603:10a6:20b:514::8) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS4P194MB1816:EE_|VI1P194MB0574:EE_ X-MS-Office365-Filtering-Correlation-Id: aa49737d-797a-44b2-0df4-08dd276218bb X-Microsoft-Antispam: BCL:0; ARA:14566002|6090799003|15080799006|7092599003|8060799006|19110799003|461199028|5072599009|440099028|3412199025; X-Microsoft-Antispam-Message-Info: =?utf-8?B?RnpkUXMwK2YxbXpaZm5zT3JvVC9KSjNlR2IxdEVWZTF4eFp3clF2Wkd2RXhm?= =?utf-8?B?OTNzT3BFd3NRL3Jzb0dkZ3ZFTmxCcGUza0hCeXZMZC9oVjNJdlllQ2VYZTVy?= =?utf-8?B?Rlo1N0VGZmQ1ZWk4Z3NqYUpCM3pXc2xNa1VMU0t0WHEvOFBoTStZdDI0d1BI?= =?utf-8?B?YWlQQjNEWkpFd2hVZWNvN3cwb3hKNjFsejN3ZlQ1UzlDNjA0T3lvVzc2UXBL?= =?utf-8?B?OEhrNE4vdzdTQVRaN3ZNQU1sNGtNTzBWa1hTRU1M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=?utf-8?B?Q1JvN2NBSXN1ZGtUUm5JVEY0Mk9wV0hubUlWTGZVcnpxWnh3cXB0dVJsR2dD?= =?utf-8?B?RmVWMkxpd2xkdDNSVWZVMUI0d2VzaUN1U2c5S1hBMzRiM1djMnlzN1BPVmYz?= =?utf-8?B?UHFWTFNNUkk2c1pDdzNMbnNDSEFiQWlLamp3ZGFjbTZ2U3g0TzlMZ3pJOU9C?= =?utf-8?B?VHNKdHEzRkR0dGt2QkZvdWtQb2lhVWdOc1l3c1d3N1ZJVDhyTEUxRzlSZzUw?= =?utf-8?Q?R2hTzAwXfeDK23E8GthBebi/pkymW/dAGpQw+yp+8neo=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: aa49737d-797a-44b2-0df4-08dd276218bb X-MS-Exchange-CrossTenant-AuthSource: AS4P194MB1816.EURP194.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Dec 2024 17:07:23.4481 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1P194MB0574 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Chris Elvidge via Cygwin Reply-To: Chris Elvidge Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "Cygwin" I have a directory of files that I need the contained executables run from CRON. (Like run-parts.) I have found that since 25/12/2024, when run from CRON, it doesn't differentiate between executable and non-executable files. I.e. tries to run the non-executables. It ran correctly on 24/12/2024, i.e apache2 and updatedb ran, rest skipped. Check file (simplified bit of original): $ cat bin/check-execute-bit #!/bin/sh cd $HOME/daily for S in *; do [ -x "$S" ] && echo "$S : executable" || echo "$S : not executable" done Directory contents: $ ls -l $HOME/daily total 48K -rwxr-xr-x 1 celvi celvi 625 Apr 24 2024 apache2 -rw-r--r-- 1 celvi celvi 15K Apr 24 2024 apt -rw-r--r-- 1 celvi celvi 355 Apr 24 2024 bsdmainutils -rw-r--r-- 1 celvi celvi 1.6K Apr 24 2024 dpkg -rw-r--r-- 1 celvi celvi 2.2K Apr 24 2024 locate -rw-r--r-- 1 celvi celvi 1.3K Apr 24 2024 man-db -rw-r--r-- 1 celvi celvi 1.1K Apr 24 2024 ntp -rw-r--r-- 1 celvi celvi 257 Apr 26 2024 passwd -rwxr-xr-x 1 celvi celvi 932 Apr 24 2024 updatedb Run from command line: $ check-execute-bit apache2 : executable apt : not executable bsdmainutils : not executable dpkg : not executable locate : not executable man-db : not executable ntp : not executable passwd : not executable updatedb : executable Output from CRON running check-execute-bit: apache2 executable apt executable bsdmainutils executable dpkg executable locate executable man-db executable ntp executable passwd executable updatedb executable Anyone any ideas where I can look next for what is going wrong? -- Chris Elvidge N Yorks, UK -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple