delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/10/21/18:25:21

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT kmcardiff DOT 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 AT cygwin DOT com
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

- Raw text -


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