Moving MariaDB/mysql to another drive

Paul Groves paul.groves.787 at gmail.com
Tue Jul 19 14:42:01 UTC 2022


No, because when I try and cd to the symlinkb at /var/lib/mysql as my user paul the symlink points me to /home/mysql/ which is owned by mysql:mysql and my user paul does not have permissions to access it.

Paul


On 19/07/2022 14:47, Colin Law wrote:
> On Tue, 19 Jul 2022 at 14:39, Paul Groves <paul.groves.787 at gmail.com> wrote:
>>
>> The permissions on /home/mysql/ are set the same as they were before I moved it from /var/lib/mysql/ (see below).
>> The new symlink at /var/lib/mysql is owned by root:root and has 777 permissions.
> 
> Can a non-root user cd to /var/lib/mysql and create files there?
> 
> Colin
> 




More information about the ubuntu-users mailing list