local admin `chmod400` still can write

Achim Gratz Stromeko@NexGo.DE
Thu Jul 31 07:03:00 GMT 2014


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


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /