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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=LBa52rNy6MHqPOsy LdCZocLSnQ8elon5BUvgLh6795C0lnjkVWVS1GYDARYlX2yOI/Zgv8y/Wdlj9nmi WVQ7mJQRv8nOz4ZvPNr7pk1uWJhYr33MTaV4saQKBlLCBwg8rRoqi2ZnLnobdnLt 11qRKJ6IW6OWsvqL4BTAO1nsgMg= 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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=J38pSeD3rP/f2Lb2gE12pu xC5hs=; b=v5UMeA4mtwDo6sEn6tKEOlywu2UJK7QxWXij3b8TjjTzEf6jdjhyIC ERNXZ2k/um3Gb+j5P79VhdIoObwqOZ+qG/VD1SGzPLKqcXk/QQfVwYvr4v8K5s8T mXDCM9JSNMikVTk9WdginAUbKL69xfCNLtfQKaJEgGQuFuwbD2VOw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=2.0 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=monday, Monday, administrator, H*r:build X-HELO: forward105j.mail.yandex.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1540162201; bh=V0qxmt3TSKPOU2mID9zPV350T+v36wtjIx3MTNsA+EA=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=fYKI96Cdg4L+gHkEm98YsUDyzhwRutGfsET6FH180fkN8gS6FmXuijDp3XMIX9v/x 1FemSPz7rgoVyvcsj036iDm2DBxij5l3s/hbB3gIF8C4eqrIZ0RM26YSDn/iL4JaSk ULu924+PgwEPnjkMqLzmOzv2mNOH51J0fvauSvfo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1540162200; bh=V0qxmt3TSKPOU2mID9zPV350T+v36wtjIx3MTNsA+EA=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=uXMygHJqG2BsGxDRdJ3WIjGwpJ+fGpucaeZ6Hk2m+sr1LQB43AwcidFijivjo83In HN/n6+e99F1NR5iLhbM/AokTyuM6z2FkgYtER4KR+uprO8JYZHUaa7Z4BBEUsAGE11 xvOyKW/2lC6MEgHBA/7dK8aoOgQ0SfbDLbuhoKQM= Authentication-Results: smtp2o.mail.yandex.net; dkim=pass header.i=@yandex.ru Date: Mon, 22 Oct 2018 01:37:53 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <164597258.20181022013753@yandex.ru> To: Michael Enright , cygwin AT cygwin DOT com Subject: Re: Multiple problems (probably) starting up new installation In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Michael Enright! > 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" I would actually suggest renaming the system user, if possible. > 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. the "+" says that there's extended ACL present. So, nothing odd. > 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. If you plan to mix Cygwin and system $HOME directories, make sure you mount them with "noacl" flag in Cygwin. Then permissions management will be deferred to Windows. > 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 As any system administrator would tell you, user names with spaces, so is with non-ASCII characters, are bad for system health. -- With best regards, Andrey Repin Monday, October 22, 2018 1:34:18 Sorry for my terrible english... -- 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