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=BDd6Y8iAO2OEMtpuhj2jKF3ILCjoS
	fA2KV+t+BItsHCI2hrgTrLzcNq26g1erT4PnOAWFEbrKfeHMrFOcjUUwzdevtzzL
	cMYXA59DzxC1p97fDBLzfP65jb+Wg87J0ThuYlSe4NpwZdp63075XVVb1uKJqY5N
	/PMzWjjNmD08n0=
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=PlzEu7Web/7k+LJJTcUa0H5Ljnw=; b=pxB
	Co/viwOCs93VhQ2PdbMWj89jSvAbD3KimPs2ua4sM0r0RVO9qq/hHA32No1+PUva
	CDsVbuLNSykYeR4khV1kSkXs4GP1xxUOTitKIxbMY97QaLMWWarKs3N2kA717Bdl
	eR5og3rkKtXyQi5iuZl93TEW5P3sBoegiEjn79dE=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=bob, Van, rails, Hx-languages-length:1266
X-HELO: mail-qk0-f182.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:mime-version:from:date:message-id:subject:to;        bh=Q7HS3H6Y2VsVIjHNAIKoP2JAMapPKfiBMYweca6E/38=;        b=UGyEoCPY58QM7fsRgl6JC+p8haMdI9ovQbC4gP9gBcVJAKNfcFmKJQjAR8efYzEaeF         GXDsOwn2URg+EPcgXigZzA4r0FZwZw+TRjRdQS5fp+oW/WoENSylgXz5h1KOdkYceTF3         jsXNC4N/sWNBiRI1YwpFl1B3ExSVeapZp0H4/VdhbjEq2UsyzCy9us5cNhSAlhD+5F7C         3/Qk2hRAgSoEJdI2MlEKccCsZInEW7kihTFv29eJYhNI79TKxDuHkJV72HT+LBWS2ebJ         gfyoSkfmwpYZMLXzhBQe+TZUBRVJXLKnfJYPC9gFBnECupPh1qS13WagxbxQvYa95Ooo         jcyA==
X-Gm-Message-State: AEkooutQLnV+YVjh60jfeJ2ovFgb4DVnBIHpyY0OCCY85buR4m4DamxjU0keR4u+yGw87DRb7HrHIdEkKtiWaw==
X-Received: by 10.55.19.33 with SMTP id d33mr20562610qkh.225.1470500849950; Sat, 06 Aug 2016 09:27:29 -0700 (PDT)
MIME-Version: 1.0
From: Bob Van <overmeiren@gmail.com>
Date: Sat, 6 Aug 2016 09:27:29 -0700
Message-ID: <CAMNUbhT7T+tOuOv2wntoi0CYeY9nXvefPOnCHgXnuMKuDfOaDQ@mail.gmail.com>
Subject: Launch cygwin as non-domain user
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8

I'm attempting to work with ruby on rails in cygwin, though I know
it's a difficult path to go down. I have a windoz7 laptop which is
connected to a company domain sometimes, and which pushes security
updates down sometimes. Normally, when I launch cygwin, my console is
for user rvanover@RVANOVERMEIREN, and my user can create rails apps
and install bundles - even if they are dropped in from windows and
owned by Administrators.

Recently, after an update I imagine, when I launch cygwin, my console
is now for user CHI+User(14497)@RVANOVERMEIREN, and starts in the root
(/) directly rather than my user. To cygwin.bat, I added 'set
HOME=\C:cygwin64\home\rvanover', and the console will load at my
normal home and my bashrc aliases are available, but when I run
'bundle install' for a rails app (dropped in from windoz explorer), I
get error 'EINVAL: Invalid argument @ chmod_internal {path to some gem
bin script}'.

I don't have users/groups in /etc. Sometimes when I'm off the company
network/vpn, cygwin will come up in my normal user console, and work
normally, but I can't tell why that happens.

I just want to know how to launch cygwin as my non-domain user so I
don't get these chmod problems?

-- 
Best Regards,

Bob Van

--
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

