delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/17/15:19:48

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <001901c0c773$0fd99ca0$c4332041@campbell>
From: "Christopher Dale Campbell" <DaleCampbell AT revolutionist DOT com>
To: "Corinna Vinschen" <cygwin AT cygwin DOT com>
References: <005701c0c731$71e7de80$c4332041 AT campbell> <20010417135556 DOT E12559 AT cygbert DOT vinschen DOT de>
Subject: Re: ntsec environment variable
Date: Tue, 17 Apr 2001 15:17:32 -0400
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Here's the output for those commands:

[dale:~]$ id
uid=1000(dale) gid=513(None) groups=513(None)

[dale:~]$ ls -ln
total 0
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
user::---
user:500:rwx
user:1001:---
user:1002:---
group::rwx
mask::rwx
other::rwx


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" <cygwin AT cygwin DOT com>
To: <cygwin AT cygwin DOT com>
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
> wrote: 
> > -----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
> file?  
> 
> 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
> 
> -- 
> Corinna Vinschen                  Please, send mails regarding
> Cygwin to Cygwin Developer                               
> mailto:cygwin AT cygwin DOT 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>

iQA/AwUBOtyWw4XnWfGgRqP+EQKingCeJrpj2LwGiug5xU7FIw0QWrdDOEYAoOfB
BuGIZlMvTKuMFrFuj6x3EHiT
=Zu5B
-----END PGP SIGNATURE-----



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019