This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: SMBFS mount's file cannot be made executable
- From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin" <cygwin at cygwin dot com>
- To: L A Walsh <cygwin at tlinx dot org>
- Cc: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Tue, 20 Aug 2019 19:44:05 +0000
- Subject: RE: SMBFS mount's file cannot be made executable
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ncbi.nlm.nih.gov; dmarc=pass action=none header.from=ncbi.nlm.nih.gov; dkim=pass header.d=ncbi.nlm.nih.gov; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JpDe8Q/rYj5x6VVO8kzaRR01oNy04fCQX8exKgyEzsA=; b=coGZlBaBdQiqbAexv3UO/CYW4sOTyDpFW9J1JIQvja4y3J/NnqFotUaBO8K8HC7V1rbc9zcNuJrK/arYmtXhZnEL/5N0pVVDQfNXRscn6xap828Pkw5TX+ZyF8obGv7KkYpigvRrR8pywLqg3BjLWTVLvDj+ft3WR1nTJLUKBeHMjckdZKknSDeKtfuRanqOZVoUeJr3wJT9lA5Z7Rw4/n1cMWJbhkJd4wJ00BbOvJggrGoKoUbP5j8o33zfzp4ZWgU2EjLy8GczdM0p9evTy7V96jG5I4qlQI9bThDd6A+BwELIU6bIL8uqEbgeo/eLXx7ejrlIn5uoRcBwJKBs3Q==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hJUiffbue6KYBMVmQr+JYTj569I8shIB4x6QPPx5bp9q4TXx3pgrdAFMFg0PjByEYa6b4w4e6I6X6n9nUXyr8OxYlmU/GzS1vPiW89MigZRiWRjlNV6InDMptRBiippE/+S3Ox+zIgzcUOn2ey2x5kg4QTeZ3X0whcnwG19f+gD18McFswkghnLcu874CvzclD0HBFZr+T7EIxhIAJ0G7oxGW8LMLW8fYYwzv5Ghn5ZOeQCtXQIK6KgjqBO1DZjTCFl5IhwJt1w68+2k0Coug20U74M7hyBNgJEjoySWzyD4cTOcXs9mL0uFGAhAuVmsqLY+ni39hMdQV6AVkUELVg==
- Ironport-sdr: iyTkFeeVmIHWszGraFTmhT6i/05KHuM3GDdXJbfM3FCm7vR3CzK10d2V4CeMpB1lOrBuLHfCQm btSw+MFOEbgg==
- References: <BN6PR09MB1409EA759FB67C38B9D92BBBA5AC0@BN6PR09MB1409.namprd09.prod.outlook.com> <5D55246F.4050208@tlinx.org>
- Reply-to: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr at ncbi dot nlm dot nih dot gov>
Thanks for the hints!
> so...what's your umask?
It's 022. As far as it's concerned, umask should only be considered when creating a new file, not to affect existing files' modes
(as with the chmod command). At any rate, the "x" bit in mine is unset, so should not be having the issues what you've seen.
BTW, what's your Samba server's version? Mine is below:
$ /usr/sbin/smbd -V
Version 4.7.1
Lastly, I mounted the drives via the explorer and they had been marked as "reconnect at login", so they re-mount for me
upon every login and/or after a reboot... And there have been many of both.