Page 1 of 1

How can I enable follow symbolic link in samba?

Posted: 07 Jun 2020, 13:16
by hevangel
I have a F4-220. I upgrade the firmware and discovered the symbolic links stops working in the samba server.
I notice "follow symlinks = no" in /etc/samba/smb-extend.conf
I can't edit the file.
How can I turn on the "follow symlinks" in the samba server?

Re: How can I enable follow symbolic link in samba?

Posted: 08 Jun 2020, 14:35
by TMSupport
It's the new feature of TOS4.2, and it could be started from front end. You can manually change "follow symlinks = no" to "follow symlinks = yes" to use it.

Re: How can I enable follow symbolic link in samba?

Posted: 14 Jun 2020, 13:33
by hevangel
Hi,

I am using TOS 4.1.21, which is the latest TOS.
How can I turn on the follow symbolic link in TOS 4.1.21 then?
Is there anyway I can edit /etc/samba/smb-extend.conf
Thanks

Horace

Re: How can I enable follow symbolic link in samba?

Posted: 15 Jun 2020, 15:00
by TMSupport
Hi, please see the following picture, you can use the cmd vi /etc/samba/smb-extend.conf and change follow symlinks=no to follow symlinks=yes.
symbolic.png

Re: How can I enable follow symbolic link in samba?

Posted: 24 Jun 2020, 04:53
by hevangel
But I don't have write permission to /etc/samba/smb-extend.conf.
That file is owned by root.

How can I start a terminal as a root user?

Re: How can I enable follow symbolic link in samba?

Posted: 24 Jun 2020, 11:22
by TMSupport
So login as root to the back end of the NAS, the password of the root account is the same as the one of your admin account.

Re: How can I enable follow symbolic link in samba?

Posted: 26 Jun 2020, 04:15
by hevangel
It works! Thanks a lot.