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]

local admin `chmod 400` still can write


Hi.

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?

    $ id
    uid=48466(basin) gid=545(Users) groups=545(Users),0(root),544(Administrators)
    $ touch aaa.txt
    $ chmod 400 aaa.txt
    $ ls -l aaa.txt
    -r--------+ 1 Administrators ???????? 0 Jul 30 19:23 aaa.txt
    $ echo aaa >>aaa.txt
    $ cat aaa.txt
    aaa

My id is not 0, but maybe cygwin still behaves as if I was root.


--
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]