This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: chmod failure
- From: Marc Girod <marc dot girod at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 3 Mar 2008 14:37:14 +0000 (UTC)
- Subject: Re: chmod failure
- References: <a80482d0802221032t65ce5184x50c1da849fb7dbbc@mail.gmail.com> <005c01c87584$518c6f30$2e08a8c0@CAM.ARTIMI.COM> <loom.20080224T135049-312@post.gmane.org> <012c01c876f1$94f095d0$2e08a8c0@CAM.ARTIMI.COM> <loom.20080225T102956-902@post.gmane.org> <003601c8779b$4af55f10$2e08a8c0@CAM.ARTIMI.COM> <loom.20080225T111859-263@post.gmane.org> <47C2D268.2080300@cygwin.com> <loom.20080225T151147-66@post.gmane.org> <loom.20080226T113255-808@post.gmane.org> <loom.20080229T110143-748@post.gmane.org> <47C80546.6060005@byu.net> <slrnfsh0gu.tpv.oudeis@isis.thalatta.eme> <47C8885E.816E8BD5@dessent.net> <slrnfsh34f.tpv.oudeis@isis.thalatta.eme> <47C88FAC.48AF5FBF@dessent.net> <loom.20080303T135047-648@post.gmane.org>
Hi again,
Marc Girod <marc.girod <at> gmail.com> writes:
> This is on a different host than previously,
Just a couple of additions...
I do have admin rights on that box.
> Here is the symptom about which I hope to read an explanation:
> ~> ls -ld . .bashrc
> drwx------+ 8 Administrators Domain Users 0 Feb 29 13:14 .
> -rwx------+ 1 emagiro Domain Users 118 Feb 29 13:14 .bashrc
> ~> chmod go+r .bashrc
> chmod: changing permissions of `.bashrc': Permission denied
~> touch foo
~> ll foo
-rw-r--r-- 1 emagiro Domain Users 0 Mar 3 14:32 foo
~> getfacl foo
# file: foo
# owner: emagiro
# group: Domain Users
user::rw-
group::r--
mask:rwx
other:r--
~> getfacl .bashrc
# file: .bashrc
# owner: emagiro
# group: Domain Users
user::rwx
group::---
group:Administrators:rwx
mask:rwx
other:---
~> getfacl .
# file: .
# owner: Administrators
# group: Domain Users
user::rwx
user:emagiro:rwx
group::---
mask:rwx
other:---
default:user:Administrators:rwx
default:user:emagiro:rwx
default:mask:rwx
At some point, .bashrc got Adminsitrators as group, as it seems...
I don't quite understand all this...
But maybe it is explained in the ntsec page...
Marc
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/