delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/11/21:38:38

X-Spam-Check-By: sourceware.org
From: "Matthew Pittman" <m DOT pittman AT pks DOT com DOT au>
To: <cygwin AT cygwin DOT com>
Subject: chmod not working with ntsec set
Date: Thu, 12 Jan 2006 13:39:27 +1100
Message-ID: <ALEGJCNFKFCKMFOAMPNFOEDNCAAA.m.pittman@pks.com.au>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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,
I know this is a dumb question but I have made genuine efforts to understand
what I'm doing wrong and I'm still missing the point.  Sorry for wasting
your time.

I've installed cygwin under WXP in a domain.  When I first started bash I
got a warning about groups but it said that I could safely ignore it so I
did.  Of course now I can't remember exactly what it was but I think it was
something about creating
mkgroup-l-d because it couldn't create the correct group.

I pressed on regardless but I found I couldn't get chmod to work so I
searched the documentation, web and mailing list archives and found that I
should set the CYGWIN environment variable to "ntsec".  I also noted that
this should now be the default anyway but I set it anyway and it hasn't
solved the problem.
	$ echo $CYGWIN
	ntsec

	$ chmod -v u+x .bashrc
	mode of `.bashrc' changed to 0744 (rwxr--r--)

	$ ls -l .bashrc
	-rw-r--r--  1 matt mkgroup-l-d 316 Jan 11 13:39 .bashrc

I also note that I have write permission to the folder.
	drwxr-xr-x  1 matt mkgroup-l-d    4096 Jan 11 17:12 .
Can anyone put me out of my misery?  Thanks in advance,
Matt


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