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:content-type :content-transfer-encoding:message-id:date:to:subject :in-reply-to:references:from; q=dns; s=default; b=AgReCRqQNxwR6P mUInT9Zx4IJ26S5VKcf3pc0ZJHWpVpb70vKd5MAncXF505d0HChhKMeM7FtLkoTp 71R4TR0XcKTKM68bXRhZkaMft+w0YNvpT/ZTlFXE9JZ4hvgZVpCCfKMjPXoAOGsZ 2vXQ2LOPG9J7sjCSpNsyAjsg9eQoI= 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:content-type :content-transfer-encoding:message-id:date:to:subject :in-reply-to:references:from; s=default; bh=mj5NemNVeA78Ltzd9exy X62c8eE=; b=pAjx1mIpno2DHI7lCvhM7DeppdFEw0kMNQZkeeL2ZE9VUoSM3vqW JmfM4gNLKxx+gWizmhlw/e8p+QosCde/FzprRRXdOik8+dzWqF9wb4Wtt/Y3Nbe0 yS9tIoUC5XjfDmkfPyxl5bqwbsJCVhqao83ihI0Qk3oIzC3t88n7tYc= 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=-0.6 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=Home, HX-Languages-Length:1925, desktop, Desktop X-HELO: p3plsmtpa07-08.prod.phx3.secureserver.net X-Sender: inbox AT kosowsky DOT org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <23910.42455.722565.268415@consult.pretender> Date: Wed, 28 Aug 2019 12:03:35 -0400 To: cygwin AT cygwin DOT com Subject: Re: Home directory not accessible but really there... In-Reply-To: <23909.35055.868804.891225@consult.pretender> References: <23909 DOT 35055 DOT 868804 DOT 891225 AT consult DOT pretender> From: cygwin AT kosowsky DOT org X-IsSubscribed: yes Silly me -- problem was due to a typo in an old (and forgotten) fstab.d file. Never mind. Sorry for the troubles... "" wrote at about 15:47:59 -0400 on Tuesday, August 27, 2019: > In summary: > 1. Home directory is not accessible via: 'cd ' or 'cd ~' (it > takes me to /tmp) and 'ls -al /home' shows my home directory as > having corrupted permissions, UID and GID (all are ???) > > 2. Home directory is accessible and shows proper perms/UID/GID when I > go there with the full path from /cygdrive/c > > Specifically, > > After installing cygwin (using --noadmin flag), rebooting, and > launching a cygwin shell, I get the message: > mkdir: cannot create directory '/home/myname': No such file or directory > /home/myname could not be created. > Setting HOME to /tmp > > Then, if I go to /home and type: > #ls -al > ls: cannot access 'myname': No such file or directory > total 4 > drwxrwxrwt+ 1 myname somegroup(513) 0 Aug 27 15:35 . > drwx------+ 1 myname somegroup(513) 0 Aug 25 17:55 .. > d?????????? ? ? ? ? ? myname > > And, indeed from there, I can't ls/cd into the 'myname' home directory > - nor can I change the perms or uid/gid. > > HOWEVER, if I go manually to the home directory using the full path > relative to C:, everything seems fine. > > #cd /cygdrive/c/Users/myname/Desktop/cygwin/home > #ls -al > drwxrwxrwt+ 1 myname somegroup(513) 0 Aug 27 15:35 . > drwx------+ 1 myname somegroup(513) 0 Aug 25 17:55 .. > drwxr-xr-x+ 1 myname somegroup(513) 0 Aug 27 14:55 myname > > And I can then ls/cd into the intact 'myname' home directory. > > Note I don't have admin permission on this machine so I used > 'cygwin-setup --no-admin' to install Cygwin. > > -- > 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 > -- 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