delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/03/03/09:38:14

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Marc Girod <marc DOT girod AT gmail DOT com>
Subject: Re: chmod failure
Date: Mon, 3 Mar 2008 14:37:14 +0000 (UTC)
Lines: 56
Message-ID: <loom.20080303T143317-508@post.gmane.org>
References: <a80482d0802221032t65ce5184x50c1da849fb7dbbc AT mail DOT gmail DOT com> <005c01c87584$518c6f30$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <loom DOT 20080224T135049-312 AT post DOT gmane DOT org> <012c01c876f1$94f095d0$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <loom DOT 20080225T102956-902 AT post DOT gmane DOT org> <003601c8779b$4af55f10$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <loom DOT 20080225T111859-263 AT post DOT gmane DOT org> <47C2D268 DOT 2080300 AT cygwin DOT com> <loom DOT 20080225T151147-66 AT post DOT gmane DOT org> <loom DOT 20080226T113255-808 AT post DOT gmane DOT org> <loom DOT 20080229T110143-748 AT post DOT gmane DOT org> <47C80546 DOT 6060005 AT byu DOT net> <slrnfsh0gu DOT tpv DOT oudeis AT isis DOT thalatta DOT eme> <47C8885E DOT 816E8BD5 AT dessent DOT net> <slrnfsh34f DOT tpv DOT oudeis AT isis DOT thalatta DOT eme> <47C88FAC DOT 48AF5FBF AT dessent DOT net> <loom DOT 20080303T135047-648 AT post DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019