On Sun, 27 Aug 2000, John Walker wrote:
try this command
cd /home
chown -R mysql.root mysql
telnet localhost
(login as mysql)
> Anyone ever seen anything like this before?
>
> Bash says a directory doesn't exist when logging in as the user who's home
> directory it is.
>
> The directory IS there.
>
> What the heck? (FWIW the directory had already been created when I created
> the user... Wonder what diff that makes?)
>
> Thanks,
> John
>
> PS, Please copy me directly on replies.
>
> [root@colin /home]# ls -al
> total 32
> drwxr-xr-x 5 root root 4096 Aug 13 12:08 .
> drwxr-xr-x 17 root root 4096 Jul 23 14:40 ..
> drwx------ 8 john john 4096 Aug 27 10:14 john
> drwxr-xr-x 2 root root 16384 Jul 3 17:15 lost+found
> drw-rw---- 7 mysql root 4096 Aug 27 11:50 mysql <-LOOK AT THIS
> [root@colin /home]# telnet colin
> Trying 127.0.0.1... Connected to colin.
> Escape character is '^]'.
>
> Red Hat Linux release 6.2 (Zoot)
> Kernel 2.2.16-3 on an i586
> login: mysql
> Password:
>
> No directory /home/mysql! <- LOOK AT THIS
> Logging in with home = "/".
> bash: /home/mysql/.bash_profile: Permission denied
> bash$ logout
> bash: /home/mysql/.bash_logout: Permission denied
> Connection closed by foreign host.
>
> [root@colin /home]# ls -al
> total 32
> drwxr-xr-x 5 root root 4096 Aug 13 12:08 .
> drwxr-xr-x 17 root root 4096 Jul 23 14:40 ..
> drwx------ 8 john john 4096 Aug 27 10:14 john
> drwxr-xr-x 2 root root 16384 Jul 3 17:15 lost+found
> drw-rw---- 7 mysql root 4096 Aug 27 11:50 mysql
>
> <- yup, its still there...???
>
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
--
#####################################################################
# Andrew H.P. So, Software Developer #
# First Ecommerce Limited, http://www.firstecom.com #
# 8/F, Henley Building, 5 Queen's Road Central, Hong Kong #
# e-mail: [EMAIL PROTECTED], Tel:2289-9542 Fax:2801-5939 #
#####################################################################
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list