From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88042 invoked by alias); 18 May 2017 12:20:08 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 86916 invoked by uid 89); 18 May 2017 12:20:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*UA:Bat!, H*x:Bat!, H*F:D*yandex.ru, H*M:yandex X-HELO: forward2o.cmail.yandex.net Received: from forward2o.cmail.yandex.net (HELO forward2o.cmail.yandex.net) (37.9.109.243) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 18 May 2017 12:20:02 +0000 Received: from smtp3m.mail.yandex.net (smtp3m.mail.yandex.net [77.88.61.130]) by forward2o.cmail.yandex.net (Yandex) with ESMTP id 90763213A9; Thu, 18 May 2017 15:20:02 +0300 (MSK) Received: from smtp3m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3m.mail.yandex.net (Yandex) with ESMTP id 8F87E2840CFB; Thu, 18 May 2017 15:20:01 +0300 (MSK) Received: by smtp3m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id X0NIfRsjxf-K0BmcABQ; Thu, 18 May 2017 15:20:00 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Authentication-Results: smtp3m.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Thu, 18 May 2017 12:17:20 -0000 Date: Thu, 18 May 2017 12:23:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <117289720.20170518151720@yandex.ru> To: Alex , cygwin@cygwin.com Subject: Re: when I try to open file with another user on CYGWIN , I get access denied message In-Reply-To: <592ee8fc-fbdb-7bea-3508-0e5e42dee689@gmx.com> References: <2e1a331d-18e5-4dcc-0db6-257eeea2640a@gmx.com> <592ee8fc-fbdb-7bea-3508-0e5e42dee689@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-05/txt/msg00293.txt.bz2 Greetings, Alex! >> You may want to check the receiving directory DACLs with getfacl .../ >> and if necessary change them with setfacl -m d:g::r--,d:o::r-- if only >> data is being transferred to that directory. > #getfacl samplefolder > #owner :gm-user1 > #group :Domain User > user ::rwx > group :: r-x > other:r-x Seems sane, though least desirable. > Yes they only transfer to file in this folder, if I run setfacl for > this directory, will it apply to files inside and the file will be added > later ? >> >> Removing directory DACLs e.g. with setfacl -bk .../ can stop Windows >> programs being able to read or write directories or contents. >> >> Get them to set the permissions chmod +r on the source if possible, > they said already give the file with full permission for everyone At this point, I have a feeling that their software force 0700 on an unloaded file. But you may try to setfacl -m d:u::rwx,g::rwx,d:m::rwx on your directory and try to upload a new file. -- With best regards, Andrey Repin Thursday, May 18, 2017 15:14:23 Sorry for my terrible english... -- 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