Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: 4.1.9 CIFS following symbolic links outside of share
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-07-07
07:58 AM
2012-07-07
07:58 AM
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
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
Labels:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-07-07
10:44 AM
2012-07-07
10:44 AM
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-07-08
03:34 AM
2012-07-08
03:34 AM
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.
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-07-13
07:55 PM
2012-07-13
07:55 PM
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":
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!
...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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-07-13
08:20 PM
2012-07-13
08:20 PM
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
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-09-18
12:46 PM
2012-09-18
12:46 PM
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