What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Asus wrt Merlin samba symlinks support

zany130

Regular Contributor
I'm trying to host my USB connected to my Asus router on my network.

The disk is formated ext4 and has some unix symlinks that point to various places within the share for easy access.

Both my windows laptop and my Linux desktop running bazzite (fedora atomic) are unable to see these symlinks though.
 
Works for me without any changes to the router. 🤷‍♂️

Are your symbolic links using relative or absolute paths?

When you say your Windows laptop can't "see" these links do you mean that literally, i.e. they don't appear in Windows File Explorer? Or do you mean that when you click on them you get an error?
 
Last edited:
A symbolic link to a directory outside of the specific share does not show up. Is this perhaps what you are trying to do?
Well he did specifically say "symlinks that point to various places within the share" so I'm assuming not. That said, I did test a symbolic link that pointed outside the share and that also showed up. It just gave an error when trying to access it (because wide links = no. So I don't understand why you're not seeing the link.
 
Doing anything with Windows makes my head hurt. Idk, I did not try to reslove the issue. The symbolic link showed ok and worked ok when the target was within the share. I believe that was the OP situation as well, just trying to cover the basis.
 
Yes my Windows laptop does not show any of the links and so does my linux desktop PC the links are just missing on both OS

No I'm not trying to point outside the share. I'm trying to point to a folder within the share that is several folders deep for easy access


the symlinks show up and work correctly if I plug in the USB directly into my linux PC but when shared over the network using smb it does not on any OS
 
Strange. My first guess would be some sort of permissions issue, especially if the files/directories were originally created on another machine.

Try:
chmod -R 777 /tmp/mnt/diskname/sharename
 
Strange. My first guess would be some sort of permissions issue, especially if the files/directories were originally created on another machine.

Try:
chmod -R 777 /tmp/mnt/diskname/sharename
tried running that on my router and no difference windows AND linux still cant see the symlinks. Do I need to restart the router or something first?
 
same SMB version ?
yup everything using smb2


EDIT: huh it does seem to be some permission issue . just tried creating a test symlink in a ssh session on the router and that does show up on my linux PC windows also
 
Last edited:
No. I'm at a loss what to suggest as I can't recreate your problem. Have you made any changes to the router that might effect Samba in some way?
no i did try manually allowing symlinks with a smb.conf.add but I deleted it. it seems the problem was a permission issue though as if I create the link on my router it works fine
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top