Symlink does not work for shared folder between Mac and Linux
Hello,
I created a shared folder on my MacOS Mojave. Then I mounted it on my Linux machine (CentOS 7) with
sudo mount -t cifs //mymacbook/mysharedfolder /home/jczhang/mysharedfolder -o noauto,user,username=jczhang,password="XXXXXX",noperm,mfsymlinks,uid=jczhang,gid=jczhang
On the Linux side, I found the symlinks were wrong. A symlink created by Mac turned into something like this in Linux:
-?????????? ? ? ? ? ? configure.log
(Please note the link does not point to out side of the shared folder)
I can create new symbol links in the shared folder in Linux, e.g.,
lrwxrwxrwx. 1 jczhang jczhang 9 Jun 27 10:48 hello.sl -> hello.txt
-rwxr-xr-x. 1 jczhang jczhang 0 Jun 26 13:04 hello.txt
However, in Macbook, the symlink is wrong,
-rw------- 1 jczhang jczhang 1067 Jun 27 10:48 hello.sl
-rw------- 1 jczhang jczhang 0 Jun 26 13:04 hello.txt
How to fix this? Thank you!
MacBook Pro 15", macOS 10.14