From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6191 invoked by alias); 21 Oct 2018 22:50:10 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 6123 invoked by uid 89); 21 Oct 2018 22:50:08 -0000 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 Received: from forward105j.mail.yandex.net (HELO forward105j.mail.yandex.net) (5.45.198.248) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 21 Oct 2018 22:50:05 +0000 Received: from mxback19j.mail.yandex.net (mxback19j.mail.yandex.net [IPv6:2a02:6b8:0:1619::95]) by forward105j.mail.yandex.net (Yandex) with ESMTP id 9008D1870D1; Mon, 22 Oct 2018 01:50:01 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback19j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id q8AoXPhx6b-o1wWVrtr; Mon, 22 Oct 2018 01:50:01 +0300 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= Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vSlhH8fL6t-o0Na5LxB; Mon, 22 Oct 2018 01:50:00 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) 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 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Sun, 21 Oct 2018 22:37:53 -0000 Date: Sun, 21 Oct 2018 22:50:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <164597258.20181022013753@yandex.ru> To: Michael Enright , cygwin@cygwin.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 X-SW-Source: 2018-10/txt/msg00169.txt.bz2 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