The home directory for mysql has incorrect/wrong permissions. for 1 thing,
it does not have exectute permissions, so no one, not even owner will be
able to cd into it.

at the very minimum, change the permissions from 660 to 770 - check the mysql
docs for proper permissions for the home directory, but 660 is most definately
wrong.

rgds,

-Greg

On 27-Aug-00 John Walker wrote:
> 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

----------------------------------
E-Mail: Gregory Hosler <[EMAIL PROTECTED]>
Date: 04-Sep-00
Time: 10:14:01

        If Bill Gates had a dime for every time a Windows box crashed...
             ...Oh, wait a minute, he already does.

----------------------------------



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to