delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/02/22/13:55:01

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <a80482d0802221032t65ce5184x50c1da849fb7dbbc AT mail DOT gmail DOT com>
Subject: RE: chmod o-r woes...
Date: Fri, 22 Feb 2008 18:54:07 -0000
Message-ID: <005c01c87584$518c6f30$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <a80482d0802221032t65ce5184x50c1da849fb7dbbc@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On 22 February 2008 18:32, Marc Girod wrote:

> I am unable to remove the read right for world (and group) from .netrc.
> 
> ~> export CYGWIN=ntsec
> ~> chmod -c o-r .netrc
> mode of `.netrc' changed to 0640 (rw-r-----)
> ~> ls -la .netrc
> -rw-r--r-- 1 emagiro Domain Users 54 Feb 21 11:33 .netrc
> ~> getfacl .netrc
> # file: .netrc
> # owner: emagiro
> # group: Domain Users
> user::rw-
> group::r--
> other:r--
> mask:rwx

> etc> grep emagiro passwd*
>
passwd:emagiro:unused_by_nt/2000/xp:654351:10513:emagiro,U-EEMEA\emagiro,S-1-5
-21-507921405-1897051121-725345543-644351:/cygdrive/h:/bin/bash

  This H drive of which you speak, it is a network drive perhaps?

> What can I do to fix my environement, or even to diagnose what's wrong?

  Well, a good starting point is to read http://cygwin.com/problems.html,
paying close attention to the bit about how to generate, attach and send your
cygcheck output with your question to the list so that we have even the
slightest chance of being able to help without needing to use our ESP to guess
what kind of drives you have and what kind of CYGWIN environment variable you
have...

  But I agree that documentation you mentioned could be clarified a bit, it
doesn't (as far as I could see after a quick skim through) explicitly mention
smbntsec, just links to the ntsec section of the same page.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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