delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/08/27/15:48:59

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:from; q=
dns; s=default; b=uIGvzh9bCmvML29MWHm4xi3xTqPbI/DzknAkUaeegN91mE
ct+FbWfigiUeaP/ldc4m8zXezCwuY2jAtQiJ14v4PtBzgwB3lqwXX17d+EWD0SFb
iLsVE72OxK92XE0ZxXw8AWMvhv32mqEldEHhjM7o6ulFe6aOkcACwvVPeYDd4=
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:from; s=
default; bh=I+u69Y1LxWNzoA6SmmfftYBh7nM=; b=N4InAHBJpSAojHiNuVbQ
k0tWJAwcn3/9kKTKwtijoFMmq+/s9CXgCzONjh+pQ7NtXj+arz+PHs+uzQIv9hRl
xsRQA7bFxhiOk04MzIPoGQ08t6jlWCzfOqNrh1JTp59113xDFfswTEYMVixdtTWQ
YBTqygn9QXpFjTnPyfSXjkY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-1.2 required=5.0 tests=BAYES_00,FROM_BLANK_NAME,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 spammy=Home, desktop, Desktop
X-HELO: p3plsmtpa11-09.prod.phx3.secureserver.net
X-Sender: inbox AT kosowsky DOT org
MIME-Version: 1.0
Message-ID: <23909.35055.868804.891225@consult.pretender>
Date: Tue, 27 Aug 2019 15:47:59 -0400
To: cygwin AT cygwin DOT com
Subject: Home directory not accessible but really there...
From: "" <cygwin AT kosowsky DOT org>
X-IsSubscribed: yes

In summary:
1. Home directory is not accessible via: 'cd <return>' 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019