Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Message-ID: <004901c095a5$cb7419e0$275c100a@actfs.co.uk> From: "Malcolm Boekhoff" To: "Cygwin News Group" References: <852569F1.005AA916.00@nyc-ntgw-n01.ny.jpmorgan.com> Subject: Re: chmod and ntsec Date: Tue, 13 Feb 2001 10:14:46 -0000 Subject: chmod and ntsec If you can't be bothered to read the 9 page FAQ on ntsec, try this: bash> cp -p /etc/passwd /etc/passwd0 && mkpasswd -l -d >/etc/passwd bash> cp -p /etc/group /etc/group0 && mkgroup -l -d >/etc/group The "-l" switch examines your NT musrmgr.exe database. The "-d" switch must examine the user database on your domain. I wasted a load of time trying to get ntsec working, too, so now I just use "ntea" in the CYGWIN variable. Apparently this is not a good idea for FAT disks, but all mine are NTFS so I don't care. > I'm running CygWin on Win2k with CYGWIN="binmode ntea ntsec tty". I'm not sure > what version of CygWin I'm running. > > When I try to chmod something, I get a permission denied error. But I'm able to > change the permissions through Window's GUI. What am I doing wrong? Does chmod > not support NT security, yet (is it even possible for it to)? Do I need to > upgrade? -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple