Issues encountered with new Cygwin version
Ken Brown
kbrown@cornell.edu
Fri Sep 25 16:04:00 GMT 2015
On 9/25/2015 11:23 AM, Ken Brown wrote:
> I think you misunderstood what Marco was saying. If the problem is
> caused by the default ACL on the directory, you could fix that ACL.
To elaborate on this, observe the following:
$ cd /cygdrive/c/Users/kbrown/AppData/Local/Temp
$ getfacl .
# file: .
# owner: kbrown
# group: SYSTEM
user::rwx
group::rwx
group:Administrators:rwx
mask:rwx
other:---
default:user::rwx
default:user:kbrown:rwx
default:group::rwx
default:group:SYSTEM:rwx
default:group:Administrators:rwx
default:mask:rwx
default:other:---
$ mkdir foo
$ getfacl foo
# file: foo
# owner: kbrown
# group: None
user::rwx
group::r-x
group:SYSTEM:rwx
group:Administrators:rwx
mask:rwx
other:r-x
default:user::rwx
default:group::r-x
default:group:SYSTEM:rwx
default:group:Administrators:rwx
default:mask:rwx
default:other:r-x
$ cd foo
$ touch bar
$ getfacl bar
# file: bar
# owner: kbrown
# group: None
user::rw-
group::r--
group:SYSTEM:rwx
group:Administrators:rwx
mask:rwx
other:r--
$ ls -l bar
-rw-rwxr--+ 1 kbrown None 0 2015-09-25 11:56 bar*
$ setfacl -b .
$ getfacl .
# file: .
# owner: kbrown
# group: None
user::rwx
group::r-x
other:r-x
default:user::rwx
default:group::r-x
default:other:r-x
$ touch baz
$ getfacl baz
# file: baz
# owner: kbrown
# group: None
user::rw-
group::r--
other:r--
$ ls -l baz
-rw-r--r-- 1 kbrown None 0 2015-09-25 11:57 baz
Ken
--
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
More information about the Cygwin
mailing list