Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 17 Apr 2001 21:40:24 +0200 From: Corinna Vinschen To: cygwin Subject: Re: ntsec environment variable Message-ID: <20010417214024.D15962@cygbert.vinschen.de> Mail-Followup-To: cygwin References: <005701c0c731$71e7de80$c4332041 AT campbell> <20010417135556 DOT E12559 AT cygbert DOT vinschen DOT de> <001901c0c773$0fd99ca0$c4332041 AT campbell> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <001901c0c773$0fd99ca0$c4332041@campbell>; from DaleCampbell@revolutionist.com on Tue, Apr 17, 2001 at 03:17:32PM -0400 On Tue, Apr 17, 2001 at 03:17:32PM -0400, Christopher Dale Campbell wrote: > -----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 The ACL is interesting, actually. The user 500 (which is probably the administrator account) has all permissions on the file while YOU (user::---) have no explicit permissions set. That could result in the cp error message as well. I can't see the reason from here, of course, but it could be related to the setting of the parent directories which seem to have weird (windows typical) permission settings. You could try the following in the parent directories: chown -R dale.None . chmod -R u+rwx . and set umask to, say, 022 if it's not already set to a reasonable value. Then try the cp again. If the directory permissions and umask and /etc/passwd is ok, then creating files should work ok. 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