X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:from:date:message-id:subject:to
	:content-type; q=dns; s=default; b=sg572gdTMxryqSBmmraM06cP+4JUA
	T+4r66uneIP4hzRwfwxQCj9pROFXIRVH3XMKRotgySWP3VBBb9mXSVLpiwprHde0
	HJJWFIkHi0LCk9waNWn3HwA5H2U+QHdzMxzn2P/4PQge1peAC3ttkIlxw62M6pzp
	r76MmGCOgB7THY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:from:date:message-id:subject:to
	:content-type; s=default; bh=CjytTzc5QBOTBBqrJ/WzEvfXs4g=; b=R0T
	0NXFrlx3uaM8PxYKzciF7j0U4sk0Im9eCeC9Q/5TbqZOjnZVCg+Ie9tJBAtsQh4k
	+dQ/HPhNwRQPWq568yA9IlZ6b7tyIxxPyN98Wuj1kzmpo/LmNldQMJ/ijm7M/6Ii
	KGMAfG69/W4eHfaEw+zTqPr+G1WkvU4ulj10YzIM=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=nip, apparently, permission, mike
X-HELO: mail-ot1-f41.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=kmcardiff-com.20150623.gappssmtp.com; s=20150623;        h=mime-version:from:date:message-id:subject:to;        bh=u+e3z/EMoussjjYMVWkJWYibSZ1AOU1FdwGlfaFOrkE=;        b=KvjDtOpCYL+OLnmwnClJaxvp79LjZ5aUFUMQOBz6ORqVQi1CH4/hkLFciuXTttikOL         t9X58O5AJsdxENAjirQe2x8UvI+DFTP79MXaNp/Cd6/0+4p8Xl8yojqMflPyxtqJvzJj         5MNcUy7qyFUBzm+Bs4kdYyTV1qtBft4Ksx3/7bSYWkuZ3CRAqfQJyz0zGTPM02ydqDgH         83y9tiooWs281NkcTkVFsgVr+HLAmvrTHLfvefT1UueU11bFNx1h65bE2tTFco4G41md         L2XqRVx7kpOM8oCyuI9jBuTSn/YMmhhufVHbPUjHQKZqA7wJkPcaJzWdnsiPbE9L0JyD         7z1Q==
MIME-Version: 1.0
From: Michael Enright <mike@kmcardiff.com>
Date: Sun, 21 Oct 2018 15:24:45 -0700
Message-ID: <CAOC2fq_WRuenwF+KqVYH=NM=QS_EA-XW3hri+edSzXAxC+F-6g@mail.gmail.com>
Subject: Multiple problems (probably) starting up new installation
To: cygwin@cygwin.com
Content-Type: text/plain; charset="UTF-8"
X-IsSubscribed: yes

I have a few files that I want to compile and run in a new Windows 10 setup.
I setup cygwin64 and copied the files to a subdirectory of my home directory.
I noticed that my prompt indicated that my home directory was
"/home/Mike Enright". I decided that in the long run that would be
bad.
So I followed a tip from Stack Overflow [1]to use /etc/passwd to fix
this. Apparently the idea is to map the Windows SID to my desired user
name "menright" instead of "\"Mike Enright\"".
And also rename the created home directory accordingly.
So now I have /home/menright and some files under there and
/etc/password contains a line that maps an SID to menright.

Due to a problem out of scope of this list Eclipse launches notepad
when I want to edit CMakeLists.txt. Then Notepad says "You do not have
permission to open this file"

I noticed "ls -l CMakeLists.txt" gets:
----rwx---+ 1 menright Mike Enright     0 Oct 21 15:02 CMakeLists.txt
It's really odd that the user permissions are zero.

So I want notepad to have permission to open this file on my behalf.
Oddly I made a file called "me" with touch and I was able to edit that
with notepad.

I would also ask any advice. I fear that this permissions issue is due
to some underlying issue that I need to nip in the bud before I get
too much work done.

I think I'd also like to have my personal group "Mike Enright" renamed
to "menright" just to be sane.

[1] https://stackoverflow.com/questions/19613654/rename-change-cygwin-username

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

