× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: 4.1.9 CIFS following symbolic links outside of share

jasg
Aspirant

4.1.9 CIFS following symbolic links outside of share

Hi,
After the recent upgrade to 4.1.9 my ReadyNas DUO will not follow symbolic links which link to a directory outside of the share they are in.

Prior to this update, this has always worked fine.

Can someone please give me some pointers as to how I can enable this on my ReadyNAS?

(I did have another thread related to this, but now that I understand the problem a bit better, I thought it would be best to start a more specific question in a new thread)

Many Thanks
J
Message 1 of 6
Slasky
Aspirant

Re: 4.1.9 CIFS following symbolic links outside of share

This might be linked to the issues known to happen in 4.1.9 with share permissions. Can you access the shares themselves without any problems?
Message 2 of 6
jasg
Aspirant

Re: 4.1.9 CIFS following symbolic links outside of share

Yep, I can access the shares the links point to directly.
Just not via the link

If I create a symbolic link which points to within the same share then I can follow this no problem.
Message 3 of 6
eanrollings
Aspirant

Re: 4.1.9 CIFS following symbolic links outside of share

I can confirm this issue after said update.

...however I just fixed it by editing my smb.conf file (located in: /etc/samba)
and added a "true" setting for "wide links":

[global]
...
follow symlinks = 1
wide links = 1
...


works like a charm again 🙂

FYI, while I was sleuthing for a fix, I did come across this: http://www.linuxquestions.org/questions/linux-software-2/samba-client-wont-follow-sym-links-801633/
which seemed to make me think that I also needed to add the "unix extensions = no" setting. It seems to work without it, so not sure if this setting is needed.

and for reference, there's always RTFM: http://www.samba.org/samba/docs/using_samba/ch08.html

hope this helps others!
Message 4 of 6
mdgm-ntgr
NETGEAR Employee Retired

Re: 4.1.9 CIFS following symbolic links outside of share

That change has nothing to do with 4.1.9 ownership/permission issues. The disabling of wide links was a change made in samba for security reasons. It's not recommended to override that change. 4.1.9 included a major samba update from 3.0.37 to 3.5.15.

If you are suffering from ownership/permissions issues on 4.1.9 please consider updating to 4.1.10: http://www.readynas.com/forum/viewtopic.php?f=17&t=59222
Message 5 of 6
jasg
Aspirant

Re: 4.1.9 CIFS following symbolic links outside of share

eanrollings wrote:
I can confirm this issue after said update.

...however I just fixed it by editing my smb.conf file (located in: /etc/samba)
and added a "true" setting for "wide links":

[global]
...
follow symlinks = 1
wide links = 1
...


works like a charm again 🙂

FYI, while I was sleuthing for a fix, I did come across this: http://www.linuxquestions.org/questions ... ks-801633/
which seemed to make me think that I also needed to add the "unix extensions = no" setting. It seems to work without it, so not sure if this setting is needed.

and for reference, there's always RTFM: http://www.samba.org/samba/docs/using_samba/ch08.html

hope this helps others!


Worked for me, thanks
Message 6 of 6
Top Contributors
Discussion stats
  • 5 replies
  • 1847 views
  • 0 kudos
  • 4 in conversation
Announcements