X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0	tests=AWL,BAYES_00,KHOP_THREADED,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Content-Type: text/plain;	charset="us-ascii"
Content-class: urn:content-classes:message
Subject: RE: cygwin 1.7.13-1: can't execute shell scripts on samba share
Date: Tue, 24 Apr 2012 17:20:14 +0200
Message-ID: <6BFA9AF2C7556E42AFF3F187ECAB07B802F9D0E9@bespdc01.mediaxim.local>
In-Reply-To: <1677123640.20120424185952@mtu-net.ru>
References: <1E3D6F97-F938-420C-A5F7-C6446EC27F32@intersystems.com> <CA+sc5mkcWZZcskBqSCgKJqzTh1-CwbyF_Z83Bsox2zPMtk5v9A@mail.gmail.com> <1883CD3D-75CE-4289-A5F9-317DE2ED7F28@intersystems.com> <CA+sc5m=E78GFTYnTaOgjLOs-99OupJs1TA3aE_-AjdgGYo5F1Q@mail.gmail.com> <FEF31C20-5357-4D61-A272-CE75404C3A88@intersystems.com> <6BFA9AF2C7556E42AFF3F187ECAB07B802F9CFCB@bespdc01.mediaxim.local> <193376784.20120424144538@mtu-net.ru> <6BFA9AF2C7556E42AFF3F187ECAB07B802F9D0A1@bespdc01.mediaxim.local> <1677123640.20120424185952@mtu-net.ru>
From: "Michel Bardiaux" <MBardiaux@mediaxim.be>
To: <cygwin@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q3OFKouw016673

> From Andrey Repin

[snip]

>> 0744 for global, 0755 for homes (the relevant share in my case), 0022

>> as cygwin umask.

Sorry, correction: create mask 0744, create mode 0755. Which does help
my confusion:

>> I would expect files created on the cygwin side to have 0755 on the 
>> linux side (or possibly masked by global and/or umask). I do not see 
>> how I end up with 0764.

[snip]

> Another point of note: from my memory, samba fakes ACLs to represent
permissions. This may include > many strange things.
> For example, most of that ^^ directory content has 0777 perms, but
when I look from Cygwin, it
> coming out more granular.

Which is why in this discussion I have always checked the mode on the
nix side, using ssh.

--
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-simple


