NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
eph3
Mar 01, 2021Aspirant
Symlinks between shares? A sabNZBd problem
tldr: How can one create a symlink on one share that allows read/write access to a directory on another share?
Why? Recently I reconfigured my users and broke a formerly working sabnzbd installation. I uninstalled and reinstalled the sabnzbd but I can't get it work this time.
The sabnzbd install creates its own share sabnzbd (at /data/sabnzbd). The daemon monitors its folder
/data/sabnzbd/Downloads/todolist
When an nzb file apppears, it files from a usenet server. Temporary files created during the download are stored in
/data/sabnzbd/Downloads/incomplete
and when the download finishes, it puts the completed file in
/data/sabnzbd/Downloads/complete
Rather than having this sabnzbd share mounted, I want to be able to drag and drop to folders/symlinks on my media library share. Maybe this is the wrong approach, but it seems like what I did in the past and unfortunately broke. (Proof one should keep good notes when doing something clever)
1 Reply
- SandsharkSensei
If you are trying to access the linked location via SMB, you need to allow wide links. That used to be the default, but is no more. It allows the server to follow symlinks outside of a share path, and is done by adding allow insecure wide links = yes to the global section of smb.conf or a file included in it and a few other things for the shares themselves. To keep it from being overwritten when an OS update occurs or a new share is created, put it in /etc/frontview/samba/addons/addons.conf. This is mine:
[global] allow insecure wide links = yes unix extensions = no [ddclient] follow symlinks = yes wide links = yes [hdsentinel] follow symlinks = yes wide links = yes
This allows me to put links in the ddclient and hdsentinel shares to items that are actually in the apps share, but it could be to any other share. I have read that unix extensions = no is also required, so I included it in mine, though I believe that is (currently) the default. If /etc/frontview/samba/addons/addons.conf doesn't exist, just create it. It's already in an include statement in smb.conf.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!