This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: local admin `chmod400` still can write
- From: Achim Gratz <Stromeko at NexGo dot DE>
- To: cygwin at cygwin dot com
- Date: Thu, 31 Jul 2014 07:03:29 +0000 (UTC)
- Subject: Re: local admin `chmod400` still can write
- Authentication-results: sourceware.org; auth=none
- References: <518701106 dot 20140731105406 at gmail dot com>
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