How can I enable follow symbolic link in samba?

SMB, NFS, AFP, FTP, web file manager and Rsync server.
Locked
hevangel
Posts: 4
Joined: 27 Apr 2020, 15:36

How can I enable follow symbolic link in samba?

Post 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?
User avatar
TMSupport
TerraMaster Team
Posts: 2314
Joined: 13 Dec 2019, 15:15

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

Post 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.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
hevangel
Posts: 4
Joined: 27 Apr 2020, 15:36

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

Post 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
User avatar
TMSupport
TerraMaster Team
Posts: 2314
Joined: 13 Dec 2019, 15:15

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

Post 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
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
hevangel
Posts: 4
Joined: 27 Apr 2020, 15:36

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

Post 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?
User avatar
TMSupport
TerraMaster Team
Posts: 2314
Joined: 13 Dec 2019, 15:15

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

Post 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.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
hevangel
Posts: 4
Joined: 27 Apr 2020, 15:36

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

Post by hevangel »

It works! Thanks a lot.
Locked