This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: chmod and ntsec
- To: "Cygwin News Group" <cygwin at sources dot redhat dot com>
- Subject: Re: chmod and ntsec
- From: "Malcolm Boekhoff" <Malcolm dot Boekhoff at actfs dot co dot uk>
- Date: Tue, 13 Feb 2001 10:14:46 -0000
- References: <852569F1.005AA916.00@nyc-ntgw-n01.ny.jpmorgan.com>
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