This is the mail archive of the
cygwin
mailing list for the Cygwin project.
File permissions different inside and outside cygwin root
- From: "DeTracey, Brendan" <Brendan dot DeTracey at dfo-mpo dot gc dot ca>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Thu, 21 May 2015 12:33:34 +0000
- Subject: File permissions different inside and outside cygwin root
- Authentication-results: sourceware.org; auth=none
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