This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Issues encountered with new Cygwin version


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]