This is the mail archive of the
mailing list for the Cygwin project.
Re: ntsec environment variable
-----BEGIN PGP SIGNED MESSAGE-----
Here's the output for those commands:
uid=1000(dale) gid=513(None) groups=513(None)
[dale:~]$ ls -ln
drwxrwxrwx 2 1000 513 0 Apr 16 00:55 bin/
drwxrwxrwx 3 1000 513 0 Apr 16 00:41 learn_c/
drwxrwxrwx 2 1000 513 0 Apr 17 07:22 src/
drwxrwxrwx 2 1000 513 0 Apr 17 07:37 tmp/
[dale:~]$ getfacl .vimrc
# file: .vimrc
# owner: 1000
# group: 513
And I'm running it on NTFS. All of my CYGWIN env. variables are
'ntea tty ntsec.' Hope that helps.
- ----- Original Message -----
From: "Corinna Vinschen" <firstname.lastname@example.org>
Sent: Tuesday, April 17, 2001 7:55 AM
Subject: Re: ntsec environment variable
> On Tue, Apr 17, 2001 at 07:27:54AM -0400, Christopher Dale Campbell
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > Why is it whenever I use the env. variable 'ntsec' all files show
> > as '-rwxrwxrwx'? And when I try to copy a file (even ones that I
> > created and own) is says 'cp: preserving permissions for
> > blah.file: Permission denied'?
> On NTFS or Samba? Is your /etc/passwd correct? What is the output
> of `id'? What is the exact output of `ls -ln' and `getfacl' on the
> Just as a hint:
> If you switch to ntsec for the first time, all file ACLs are set
> by Windows. If you don't have changed your security settings, all
> files have very relaxed ACLs, mostly "all permissions for everyone"
> which is equivalent to rwxrwxrwx.
> Corinna Vinschen Please, send mails regarding
> Cygwin to Cygwin Developer
> mailto:email@example.com Red Hat, Inc.
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
-----END PGP SIGNATURE-----
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple