delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/05/18/08:20:26

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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=sZBB0XfLGakGyyCX
i1C/RbXY2VsHWLdpYuD+mB0BgaX8EigkNDb8ukj3m7QDZ+UfFHPIS5GYT02Y0oVx
4IbaOU8u20Hfbjvml6Pbi5xIdYrLB5b7Fs7efcbrc3jTvgRMT4TkE81n5vb4PE+k
BpLoTxXVXbevVCUguTEXwwlGf2E=
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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=i6QvNk+H1NKmiTYWTkxH2p
jGhTs=; b=v/Lt7aCUEDCAf+QR2+SqvJ/vFVkXZD+LESWtv69m2H+yoMC5OQK1OY
/vmLTv9Yu3aYK/3X1zfMF2jtzW7cKYlaS538FxSEbAFvNY9GuRE0HpJ0ftAxWRmI
c4Sf1FriBCLsj3EVPBsCZ/T+4yQ3B6rRKSSoByfWGeixFZx7neBDo=
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=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
Authentication-Results: smtp3m.mail.yandex.net; dkim=pass header.i=@yandex.ru
X-Yandex-Suid-Status: 1 0,1 0
Date: Thu, 18 May 2017 15:17:20 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <117289720.20170518151720@yandex.ru>
To: Alex <lombak AT gmx DOT com>, cygwin AT cygwin DOT 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 AT gmx DOT com> <ab6bf67b-9e00-f374-4c44-4e842fe25d3d AT SystematicSw DOT ab DOT ca> <592ee8fc-fbdb-7bea-3508-0e5e42dee689 AT gmx DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

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

- Raw text -


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