DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4ABCKwMK3798106 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 4ABCKwMK3798106 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=RSY08R1z X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 37CBC385841F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1731327657; bh=tN1bxUnDneIXhV+yIDCTlxXwn7OAK+0yveOLBPWvJ00=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=RSY08R1zBWUfKaV5LL79R2obVi5EvGKj6q+6uSlqNnuA+iFgwU23mnyJ/1Nzbi6wr riSN3ZjYxNNZjkcIXmo1848fycOXsviKG+h77UVsLXM0pBAKluOda7AWUJCK0HwQmo EYGMIN0Rg5m6O/NkP+YdvhG6zFwHdcx/jYv+W4Bw= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B4E453858D21 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B4E453858D21 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1731327598; cv=none; b=CG27K40N3jDUFBGProB2sS36ztfHLtsKOCWqdglLgLKcbwfIbqN8jnv9dt/zTtm6sVGfeBmefPjRMOj84SfQn33vUD3PwxcC81jvURd4J798Onvn99fyzE8033LWMb7+xMTNbKAOHi3frLgbB4FpjfmESXhwV8EQ/RrKM//Xwgw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1731327598; c=relaxed/simple; bh=1LPmL4eLlswvCazz96pnuhue6X8YDhJd13xhlVn1pEc=; h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature; b=oMbZzSFOBM2RY3sRPqNsSxvBWTJn4EBfLxd7N3bFMRhDmI08WnuFUIq36GunuqSTb6d3N56B3wTnzag7xFr74QsXhhcBpNb4PVo4LfV8LA5a7o3QdlB+8iYrq9inPPyYuMTvj5L/R9SuakJ39UvPZu/4OAbcR7e9KJaFK7MPgck= ARC-Authentication-Results: i=1; server2.sourceware.org Date: Mon, 11 Nov 2024 21:19:53 +0900 To: cygwin AT cygwin DOT com Subject: Re: SMBFS mount's file cannot be made executable Message-Id: <20241111211953.605b186566ce3a44ca929788@nifty.ne.jp> In-Reply-To: References: <20241108205109 DOT 55f99e2d172b9fc87e92ae67 AT nifty DOT ne DOT jp> <20241111193152 DOT c3a81044a03ecf2093185166 AT nifty DOT ne DOT jp> <20241111201928 DOT 811a2f8f09142b7aa8fe9bdc AT nifty DOT ne DOT jp> <20241111203202 DOT b22bcf4f9030aff58299fe0e AT nifty DOT ne DOT jp> <20241111204051 DOT 493f12208bb59d62b699dd28 AT nifty DOT ne DOT jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Mon, 11 Nov 2024 13:03:18 +0100 Corinna Vinschen wrote: > On Nov 11 20:40, Takashi Yano via Cygwin wrote: > > On Mon, 11 Nov 2024 20:32:02 +0900 > > Takashi Yano via Cygwin wrote: > > > Even with this patch, the file: > > > > > > yano $ touch samba_test_file.txt > > > yano $ ls -l samba_test_files.txt > > > -rw-r--r-- 1 yano yano 0 Nov 11 20:25 samba_test_file.txt > > > > Oops! This was wrong. > > -rw-r--r-- 1 Unknown+User Unix_Group+1000 0 Nov 11 20:25 samba_test_file.txt > > That's Samba for you. I applied your patch and created a file > on my share, and the Authenticated Users group was not in the > resulting ACL. Only user, group, and Everyone. > > Either way, I don't think this is the right thing to do. Even if > the group isn't added to the ACL on my machine, it still loks like > a security problem in waiting. Isn't this DACL here used only for access_check() (NtAccessCheck())? In my environment, the Authenticated Users does not appear in the ACL too. -- Takashi Yano -- 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