public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Multiple problems (probably) starting up new installation
@ 2018-10-21 22:25 Michael Enright
  2018-10-21 22:50 ` Andrey Repin
  2018-10-22 14:43 ` cyg Simple
  0 siblings, 2 replies; 5+ messages in thread
From: Michael Enright @ 2018-10-21 22:25 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-10-22 14:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-21 22:25 Multiple problems (probably) starting up new installation Michael Enright
2018-10-21 22:50 ` Andrey Repin
2018-10-22  1:09   ` Michael Enright
2018-10-22 12:05     ` Andrey Repin
2018-10-22 14:43 ` cyg Simple

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).