delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/07/31/03:04:03

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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=cyTkhj4Fk7IJcdVeslu/melIQ5Vd3Nkzj56GewabFogbugPZTNbtn
jiaLBo69cxIhkDAO6mrKPpIdtbP8cHC+C+Mkvxamz5DOsEU6Brdtp6uID6iNNlKy
2QjjGKzTL2zv9lFxgRIrbyaJzRzACSVCSGZSoxVsHoj4kgTTT+AtXo=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=rmSJCKaT97RFAWWdrsK2LwiRYEQ=; b=sT6KKJziy/PvsoyVGGbiJoPY0XOD
i3wPqglIvXJgOvDe8d7+HIkdZXkT1VEwxJxYxEmsDLA2PuOgHqcaO1CBJHTa/15k
Y1ifE1mX7n+RcVbKZ7JW5JMcg1WFFdnLzm/Nz52pAaB9PyQH8O6zG0d5SchoShCO
sCxMuKrT8bOY+/4=
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=-5.2 required=5.0 tests=AWL,BAYES_00,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Achim Gratz <Stromeko AT NexGo DOT DE>
Subject: Re: local admin =?utf-8?b?YGNobW9k?= =?utf-8?b?NDAwYA==?= still can write
Date: Thu, 31 Jul 2014 07:03:29 +0000 (UTC)
Lines: 21
Message-ID: <loom.20140731T085917-657@post.gmane.org>
References: <518701106 DOT 20140731105406 AT gmail DOT com>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Ilya Basin <basinilya <at> gmail.com> writes:
> From cygwin shell I'm able to read and write files even though my
> Windows user has no permission for it. I tried `chmod` and to deny
> everything for Everyone in the Windows dialog, but it didn't help. How
> is it possible?

The permission is granted via ACL (note the + at the right of the
permissions from ls).

================v
>     -r--------+ 1 Administrators ???????? 0 Jul 30 19:23 aaa.txt
================^

To check the ACL on that file:

getfacl aaa.txt



Regards,
Achim.


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