delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/05/21/08:33:58

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:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=qNG
lTKPv/ziQN7s836EmY/843fHLQXUBUCAA2pvLh06TpitjGHIQIqpNNxsUHYfQn7L
KDzc/AXuYpinY4Mpm64x0wloHBD8440pBXAEzD2dELvsU7zCVR4kKRHxZyk1pq6g
0H3Sl7KFofsll51wkUlsLtM5AEAgDDuyH0oPWbcM=
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:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; s=default; bh=j9yTAu04N
jWXk+oifiE1zJe6geI=; b=ANXPAcBaVdbbYo6J3f2+VM+YxwFHmjTlJ3ciSeD5s
ce2OfBHuPtaEyqmTA1rgfws9W6VEhM5Ec403iZh6T88NQZBpgVPgdMS22InYNZXR
2JbgCQLm182QQsCea5BKUrjpxSzNgOkivQeIZOFZYLW0e1W1KD+5CYdn+6APb48b
KY=
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.9 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: VSNSBIODMZEDG01.DFO-MPO.GC.CA
From: "DeTracey, Brendan" <Brendan DOT DeTracey AT dfo-mpo DOT gc DOT ca>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: File permissions different inside and outside cygwin root
Date: Thu, 21 May 2015 12:33:34 +0000
Message-ID: <22C6A8A4889F0C45B71BF3272671822E8209DB87@SVNSBIOMBX02.ENT.dfo-mpo.ca>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t4LCXsK8028116

Is the normal Cygwin behaviour to assign different file permissions outside of the Cygwin root directory?
e.g.
$ touch /home/detraceyb/testfile
$ ll /home/detraceyb/testfile
-rw-r--r-- 1 detraceyb Domain Users 0 May 21 09:20 /home/detraceyb/testfile
$ getfacl /home/detraceyb/testfile
# file: /home/detraceyb/testfile
# owner: detraceyb
# group: Domain Users
user::rw-
group::r--
other:r--

$ touch /cygdrive/c/Temp/testfile
$ ll /cygdrive/c/Temp/testfile
-rw-rwxr--+ 1 detraceyb Domain Users 0 May 21 09:23 /cygdrive/c/Temp/testfile*
$ getfacl /cygdrive/c/Temp/testfile
# file: /cygdrive/c/Temp/testfile
# owner: detraceyb
# group: Domain Users
user::rw-
group::r--
group:root:rwx
group:Authenticated Users:rwx
group:SYSTEM:rwx
group:Users:r-x
mask:rwx
other:r--

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