public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Home directory not accessible but really there...
@ 2019-08-27 20:37 cygwin
  2019-08-28 16:14 ` cygwin
  0 siblings, 1 reply; 2+ messages in thread
From: cygwin @ 2019-08-27 20:37 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Home directory not accessible but really there...
  2019-08-27 20:37 Home directory not accessible but really there cygwin
@ 2019-08-28 16:14 ` cygwin
  0 siblings, 0 replies; 2+ messages in thread
From: cygwin @ 2019-08-28 16:14 UTC (permalink / raw)
  To: cygwin

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-28 16:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-27 20:37 Home directory not accessible but really there cygwin
2019-08-28 16:14 ` cygwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).