From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Malcolm Boekhoff" To: "Cygwin News Group" Subject: Re: chmod and ntsec Date: Tue, 13 Feb 2001 02:14:00 -0000 Message-id: <004901c095a5$cb7419e0$275c100a@actfs.co.uk> References: <852569F1.005AA916.00@nyc-ntgw-n01.ny.jpmorgan.com> X-SW-Source: 2001-02/msg00639.html 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