我已将 /dev/sdb2 挂载到 /etc/fstab 中的 /base,如下所示:
/dev/sda1 /base ntfs defaults,user,errors=remount-ro 0 0
然后 /base 像这样:
-rwxrwxrwx 1 root root 29696 Oct 19 00:11 Mac-OS-Lion(Docky).tar*
drwxrwxrwx 1 root root 0 Dec 8 18:13 MySQL/
尝试 chown:
DevOps mysql # ll /base/MySQL/
total 40
drwxrwxrwx 1 root root 0 Dec 8 18:13 ./
drwxrwxrwx 1 root root 20480 Dec 16 10:40 ../
drwxrwxrwx 1 root root 20480 Dec 8 18:14 mysql_data/
drwxrwxrwx 1 root root 0 Dec 8 10:50 mysql_log/
DevOps mysql # chown -R mysql:mysql /base/MySQL/
DevOps mysql # ll /base/MySQL/
total 40
drwxrwxrwx 1 root root 0 Dec 8 18:13 ./
drwxrwxrwx 1 root root 20480 Dec 16 10:40 ../
drwxrwxrwx 1 root root 20480 Dec 8 18:14 mysql_data/
drwxrwxrwx 1 root root 0 Dec 8 10:50 mysql_log/
有什么问题吗?