delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/12/11/16:38:37

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; q=dns; s=default; b=bnOZ
RqxGLq67VJJ7tM2dF0vw+Ey5m6Si6pGsTK06wf/xERmCZDNUlnMxl12cmulOwXZf
mXiDAMe3iY7s/dGaRuDqG6ZD3C+uqqcgWezpZScyDOcfjJI9OWu4Jh0WE+ZWq5et
VLBDXiyul8Na1mtjJNOs5TPWdRVL8jyGvdf1ryI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; s=default; bh=nJq0ZAgaEn
IZP7KCg/BlQVfSqgs=; b=oeuI6A7nw5CyZCEhZRICHFQ+MRfb5KyaFEC0e1CLgp
tJUY0nYUCRQO79RAwILf3uo8rld1A1LgZvL/odlzR/9yzIQBXCa1aQC2XoZTDQCq
bOjir/9alJn2P5f3CMOkmcxEYICGDwrFTxIirDSJmRM0EHFSuYtDUYpzNxQTse/5
Y=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*Ad:D*is, H*F:D*is, Upon, rights
X-HELO: smtp02.udag.de
Subject: Re: Files created in cygwin on fileshare no longer allow "delete" in NTFS
To: cygwin AT cygwin DOT com
References: <059e3621048b4ee68257b6bfb0ae1053 AT knapheide DOT com>
From: =?UTF-8?Q?J=c3=bcrgen_Wagner?= <juergen AT wagner DOT is>
Message-ID: <df8f760f-3f80-27bd-1e70-f1a767ab0eec@wagner.is>
Date: Mon, 11 Dec 2017 22:38:18 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
MIME-Version: 1.0
In-Reply-To: <059e3621048b4ee68257b6bfb0ae1053@knapheide.com>
X-IsSubscribed: yes

--------------ms020205050507060108020907
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US

Hi Eric,
=C2=A0 what are the permission settings on the containing directory?

Cheers,
--J.

On 11.12.2017 20:58, Eric Duesterhaus wrote:
> Hi Cygwin Community,
>
> We are currently encountering an issue with Cygwin in regards to NTFS per=
missions on files created within Cygwin.  I'll try to outline my issue with=
 specifics.
>
> 1.  There is a windows file server mapped to M:\ on the a windows compute=
r running Cygwin.
>
> 2.  There is an active directory group that has "Modify" level permission=
s  on this file share (In NTFS, Modify includes explicit "delete" rights)
>
> 3.  "User1" and "User2" are both members of the aforementioned AD group.
>
> 4.  A file is created in /cygdrive/m/filepath/ through Cygwin being run a=
s "User1".
>
> 5. "User2" attempts to delete this file.  It does not work (access denied=
).=20=20
>
> 6. Upon further inspection of this file's ACL, the AD group with Modify l=
evel permissions now only has "read, write, execute" permissions, which, us=
ing windows "Effective Access" tool shows that the checkbox that assigns "d=
elete" rights is no longer checked for this group.
>
>
> I tried using getfacl on a file with the modify permission allowed to my =
AD group, then passed that file into setfacl with the -f option to overwrit=
e the ACL of my created file.  From the NTFS point of view, my AD group sti=
ll only has read/write/execute permissions instead of modify, which again, =
doesn't allow delete.
>
> For information gathering I use the resultant file from getfacl to setacl=
 -f on a file with "good" NTFS permissions, it overwrites the permissions a=
nd again, my AD group only has rwx and not "modify" permissions while looki=
ng at the ACL from windows.
>
> How can I retain NTFS "delete" rights for my users and groups on files cr=
eated by Cygwin?
>=20=20
> Eric=20
>
>
> --
> 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
>
>



--------------ms020205050507060108020907
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG
9w0BBwEAAKCCCxswggUtMIIEFaADAgECAhBEyQFSvmpDYoqfvaqpCvnqMA0G
CSqGSIb3DQEBCwUAMIGXMQswCQYDVQQGEwJHQjEbMBkGA1UECBMSR3JlYXRl
ciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRowGAYDVQQKExFDT01P
RE8gQ0EgTGltaXRlZDE9MDsGA1UEAxM0Q09NT0RPIFJTQSBDbGllbnQgQXV0
aGVudGljYXRpb24gYW5kIFNlY3VyZSBFbWFpbCBDQTAeFw0xNzA3MDIwMDAw
MDBaFw0xODA3MDIyMzU5NTlaMCIxIDAeBgkqhkiG9w0BCQEWEWp1ZXJnZW5A
d2FnbmVyLmlzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs25A
CMX6bAZQKKCm2iVGdrabIOo7GDmry3CK7lOZ8RKJdJg3HU3GknP8es6ZwKGf
m2424p6TdEZpcTHVFR9I6gOWwITs4Q1ie4M4H7rElux3JUZZDlYgCS0cEP6H
oRRcdYp7U092ZIg+DOdZjr9Y5j6jHkfmq//lfX+ocOCUKD1BiYRf7O+giSB0
K3QhEj42/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hbmQgU2VjdXJlIEVtYWlsIENBAhBE
yQFSvmpDYoqfvaqpCvnqMA0GCSqGSIb3DQEBAQUABIIBAC1KTF3y+oYvwGCu
zXCyCwYzplg94C9v7pd+hTTVpGUGDJxOZth19IK9U7V5lcmGLAjwjIvVNHwh
WKShpjEjtduMBEOiVtvIqG1IAexP4zxlWWc8rHsNHiXTyGcBhNu6rzJ0hgOW
8/fgBYk3wXPokUE/dblWrUJzGe6m1jJYemrFk5rnZ6Wx40SFecDQv7otYDou
pqsdv8hw4cbjUgAoGwYW1KWv4eEm/G49TWDxrMtFSX0JCHxHUeLlCJOVjaAp
FhBc589t9DN5wTz1H49pr3VQhmBX0CmjrEYNo0Lo4Ft8/XzGH485veI/jWbR
eJIM9eP+yn1iQhsh6biapBMpAxcAAAAAAAA=

--------------ms020205050507060108020907--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019