Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Tue, 17 Apr 2001 13:55:56 +0200
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: ntsec environment variable
Message-ID: <20010417135556.E12559@cygbert.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <005701c0c731$71e7de80$c4332041@campbell>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <005701c0c731$71e7de80$c4332041@campbell>; from DaleCampbell@revolutionist.com on Tue, Apr 17, 2001 at 07:27:54AM -0400

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@cygwin.com
Red Hat, Inc.

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

