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: chmod failure


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/


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